diff --git a/hibernate-core/src/matrix/java/org/hibernate/test/legacy/FumTest.java b/hibernate-core/src/matrix/java/org/hibernate/test/legacy/FumTest.java index cf97972283..6564419f34 100644 --- a/hibernate-core/src/matrix/java/org/hibernate/test/legacy/FumTest.java +++ b/hibernate-core/src/matrix/java/org/hibernate/test/legacy/FumTest.java @@ -36,7 +36,9 @@ import org.hibernate.dialect.HSQLDialect; import org.hibernate.dialect.MckoiDialect; import org.hibernate.dialect.MySQLDialect; import org.hibernate.dialect.PointbaseDialect; +import org.hibernate.dialect.SybaseASE15Dialect; import org.hibernate.dialect.TimesTenDialect; +import org.hibernate.testing.SkipForDialect; import org.hibernate.transform.Transformers; import org.hibernate.type.DateType; import org.hibernate.type.EntityType; @@ -713,6 +715,7 @@ public class FumTest extends LegacyTestCase { } @Test + @SkipForDialect( value = SybaseASE15Dialect.class, jiraKey = "HHH-3690" ) public void testCompositeKeyPathExpressions() throws Exception { Session s = openSession(); s.beginTransaction(); diff --git a/hibernate-core/src/matrix/java/org/hibernate/test/legacy/QueryByExampleTest.java b/hibernate-core/src/matrix/java/org/hibernate/test/legacy/QueryByExampleTest.java index 91d5a47253..836b513033 100644 --- a/hibernate-core/src/matrix/java/org/hibernate/test/legacy/QueryByExampleTest.java +++ b/hibernate-core/src/matrix/java/org/hibernate/test/legacy/QueryByExampleTest.java @@ -31,6 +31,8 @@ import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.criterion.Example; 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.assertNotNull; @@ -67,6 +69,7 @@ public class QueryByExampleTest extends LegacyTestCase { } @Test + @SkipForDialect( value = SybaseASE15Dialect.class, jiraKey = "HHH-4580") public void testJunctionNotExpressionQBE() throws Exception { deleteData(); initData(); diff --git a/hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java b/hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java index 562b917e35..cdb9b72f95 100644 --- a/hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java +++ b/hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java @@ -82,7 +82,7 @@ abstract public class DialectChecks { public static class SupportsUnboundedLobLocatorMaterializationCheck implements DialectCheck { public boolean isMatch(Dialect dialect) { - return dialect.supportsUnboundedLobLocatorMaterialization(); + return dialect.supportsExpectedLobUsagePattern() && dialect.supportsUnboundedLobLocatorMaterialization(); } }