mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-04 08:49:22 +00:00
Skip empty clob test due to HHH-6425
This commit is contained in:
parent
d44b0761be
commit
ca2bd08997
@ -32,6 +32,7 @@
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
import org.hibernate.type.descriptor.java.DataHelper;
|
||||
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
@ -110,6 +111,7 @@ public void testBoundedClobLocatorAccess() throws Throwable {
|
||||
s.close();
|
||||
|
||||
// test empty clob
|
||||
if ( !(getDialect() instanceof SybaseASE15Dialect) ) { // Sybase insert empty string as single space. HHH-6425
|
||||
s = openSession();
|
||||
s.beginTransaction();
|
||||
entity = ( LobHolder ) s.get( LobHolder.class, entity.getId() );
|
||||
@ -129,6 +131,7 @@ public void testBoundedClobLocatorAccess() throws Throwable {
|
||||
s.delete( entity );
|
||||
s.getTransaction().commit();
|
||||
s.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user