Skip empty clob test due to HHH-6425

This commit is contained in:
renj 2011-11-08 17:37:58 +08:00 committed by Strong Liu
parent 513b1baa62
commit 937f395834
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import org.hibernate.testing.DialectChecks;
import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.RequiresDialectFeature;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.type.descriptor.java.DataHelper; import org.hibernate.type.descriptor.java.DataHelper;
import org.hibernate.dialect.SybaseASE15Dialect; import org.hibernate.dialect.SybaseASE157Dialect;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNotNull;
@ -111,7 +111,7 @@ public class ClobLocatorTest extends BaseCoreFunctionalTestCase {
s.close(); s.close();
// test empty clob // test empty clob
if ( !(getDialect() instanceof SybaseASE15Dialect) ) { // Sybase insert empty string as single space. HHH-6425 if ( !(getDialect() instanceof SybaseASE157Dialect) ) { // Skip for Sybase. HHH-6425
s = openSession(); s = openSession();
s.beginTransaction(); s.beginTransaction();
entity = ( LobHolder ) s.get( LobHolder.class, entity.getId() ); entity = ( LobHolder ) s.get( LobHolder.class, entity.getId() );