diff --git a/hibernate-core/src/matrix/java/org/hibernate/test/annotations/dataTypes/BasicOperationsTest.java b/hibernate-core/src/matrix/java/org/hibernate/test/annotations/dataTypes/BasicOperationsTest.java index fcfa7e09e8..fbb50270da 100644 --- a/hibernate-core/src/matrix/java/org/hibernate/test/annotations/dataTypes/BasicOperationsTest.java +++ b/hibernate-core/src/matrix/java/org/hibernate/test/annotations/dataTypes/BasicOperationsTest.java @@ -33,7 +33,10 @@ import java.util.Date; import org.junit.Test; import org.hibernate.Session; +import org.hibernate.dialect.Dialect; +import org.hibernate.dialect.Oracle8iDialect; import org.hibernate.jdbc.Work; +import org.hibernate.testing.DialectCheck; import org.hibernate.testing.DialectChecks; import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; @@ -45,7 +48,7 @@ import static org.junit.Assert.assertTrue; /** * @author Steve Ebersole */ -@RequiresDialectFeature(DialectChecks.SupportsExpectedLobUsagePattern.class) +@RequiresDialectFeature(value = {DialectChecks.SupportsExpectedLobUsagePattern.class, BasicOperationsTest.OracleDialectChecker.class}, jiraKey = "HHH-6834") public class BasicOperationsTest extends BaseCoreFunctionalTestCase { private static final String SOME_ENTITY_TABLE_NAME = "SOMEENTITY"; @@ -55,6 +58,12 @@ public class BasicOperationsTest extends BaseCoreFunctionalTestCase { protected Class[] getAnnotatedClasses() { return new Class[] { SomeEntity.class, SomeOtherEntity.class }; } + public static class OracleDialectChecker implements DialectCheck{ + @Override + public boolean isMatch(Dialect dialect) { + return ! (dialect instanceof Oracle8iDialect); + } + } @Test public void testCreateAndDelete() {