HHH-6773 test fails on sybase
This commit is contained in:
parent
082431a48d
commit
27e9957f9e
|
@ -36,7 +36,9 @@ import org.hibernate.dialect.HSQLDialect;
|
||||||
import org.hibernate.dialect.MckoiDialect;
|
import org.hibernate.dialect.MckoiDialect;
|
||||||
import org.hibernate.dialect.MySQLDialect;
|
import org.hibernate.dialect.MySQLDialect;
|
||||||
import org.hibernate.dialect.PointbaseDialect;
|
import org.hibernate.dialect.PointbaseDialect;
|
||||||
|
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||||
import org.hibernate.dialect.TimesTenDialect;
|
import org.hibernate.dialect.TimesTenDialect;
|
||||||
|
import org.hibernate.testing.SkipForDialect;
|
||||||
import org.hibernate.transform.Transformers;
|
import org.hibernate.transform.Transformers;
|
||||||
import org.hibernate.type.DateType;
|
import org.hibernate.type.DateType;
|
||||||
import org.hibernate.type.EntityType;
|
import org.hibernate.type.EntityType;
|
||||||
|
@ -713,6 +715,7 @@ public class FumTest extends LegacyTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipForDialect( value = SybaseASE15Dialect.class, jiraKey = "HHH-3690" )
|
||||||
public void testCompositeKeyPathExpressions() throws Exception {
|
public void testCompositeKeyPathExpressions() throws Exception {
|
||||||
Session s = openSession();
|
Session s = openSession();
|
||||||
s.beginTransaction();
|
s.beginTransaction();
|
||||||
|
|
|
@ -31,6 +31,8 @@ import org.hibernate.Session;
|
||||||
import org.hibernate.Transaction;
|
import org.hibernate.Transaction;
|
||||||
import org.hibernate.criterion.Example;
|
import org.hibernate.criterion.Example;
|
||||||
import org.hibernate.criterion.Restrictions;
|
import org.hibernate.criterion.Restrictions;
|
||||||
|
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||||
|
import org.hibernate.testing.SkipForDialect;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
@ -67,6 +69,7 @@ public class QueryByExampleTest extends LegacyTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipForDialect( value = SybaseASE15Dialect.class, jiraKey = "HHH-4580")
|
||||||
public void testJunctionNotExpressionQBE() throws Exception {
|
public void testJunctionNotExpressionQBE() throws Exception {
|
||||||
deleteData();
|
deleteData();
|
||||||
initData();
|
initData();
|
||||||
|
|
|
@ -82,7 +82,7 @@ abstract public class DialectChecks {
|
||||||
|
|
||||||
public static class SupportsUnboundedLobLocatorMaterializationCheck implements DialectCheck {
|
public static class SupportsUnboundedLobLocatorMaterializationCheck implements DialectCheck {
|
||||||
public boolean isMatch(Dialect dialect) {
|
public boolean isMatch(Dialect dialect) {
|
||||||
return dialect.supportsUnboundedLobLocatorMaterialization();
|
return dialect.supportsExpectedLobUsagePattern() && dialect.supportsUnboundedLobLocatorMaterialization();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue