diff --git a/hibernate-core/src/test/java/org/hibernate/test/filter/hql/JoinedFilteredBulkManipulationTest.java b/hibernate-core/src/test/java/org/hibernate/test/filter/hql/JoinedFilteredBulkManipulationTest.java index f468515057..c36ddcab0f 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/filter/hql/JoinedFilteredBulkManipulationTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/filter/hql/JoinedFilteredBulkManipulationTest.java @@ -24,6 +24,8 @@ package org.hibernate.test.filter.hql; import java.util.Date; +import org.hibernate.dialect.CUBRIDDialect; +import org.hibernate.testing.SkipForDialect; import org.junit.Test; import org.hibernate.Session; @@ -34,6 +36,11 @@ import static org.junit.Assert.assertEquals; /** * @author Steve Ebersole */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class JoinedFilteredBulkManipulationTest extends BaseCoreFunctionalTestCase { public String[] getMappings() { return new String[] { diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java index 8633b5eef7..edcb75c675 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java @@ -106,6 +106,11 @@ import static org.junit.Assert.fail; * * @author Steve */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class ASTParserLoadingTest extends BaseCoreFunctionalTestCase { private static final Logger log = Logger.getLogger( ASTParserLoadingTest.class ); diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java index 28a291791a..a58ba192a7 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java @@ -28,6 +28,8 @@ import java.util.Date; import java.util.List; import junit.framework.AssertionFailedError; +import org.hibernate.dialect.CUBRIDDialect; +import org.hibernate.testing.SkipForDialect; import org.junit.Test; import org.hibernate.QueryException; @@ -115,6 +117,11 @@ public class BulkManipulationTest extends BaseCoreFunctionalTestCase { } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testTempTableGenerationIsolation() throws Throwable{ Session s = openSession(); s.beginTransaction(); @@ -523,6 +530,11 @@ public class BulkManipulationTest extends BaseCoreFunctionalTestCase { } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testInsertWithSelectListUsingJoins() { // this is just checking parsing and syntax... Session s = openSession(); @@ -726,6 +738,11 @@ public class BulkManipulationTest extends BaseCoreFunctionalTestCase { } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testUpdateOnManyToOne() { Session s = openSession(); Transaction t = s.beginTransaction(); @@ -1157,6 +1174,11 @@ public class BulkManipulationTest extends BaseCoreFunctionalTestCase { } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testDeleteWithMetadataWhereFragments() throws Throwable { Session s = openSession(); Transaction t = s.beginTransaction(); diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java index 9599978aa7..96a6786d6a 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java @@ -23,6 +23,7 @@ */ package org.hibernate.test.hql; +import org.hibernate.dialect.CUBRIDDialect; import org.junit.Test; import org.hibernate.HibernateException; @@ -139,6 +140,11 @@ public class ScrollableCollectionFetchingTest extends BaseCoreFunctionalTestCase } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testScrollingJoinFetchesSingleRowResultSet() { Session s = openSession(); Transaction txn = s.beginTransaction(); @@ -292,6 +298,11 @@ public class ScrollableCollectionFetchingTest extends BaseCoreFunctionalTestCase } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testScrollingJoinFetchesReverse() { TestData data = new TestData(); data.prepare(); @@ -321,6 +332,11 @@ public class ScrollableCollectionFetchingTest extends BaseCoreFunctionalTestCase } @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testScrollingJoinFetchesPositioning() { TestData data = new TestData(); data.prepare(); diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java index 7500acd798..79b04d1e9c 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java @@ -23,6 +23,8 @@ */ package org.hibernate.test.hql.joinedSubclass; +import org.hibernate.dialect.CUBRIDDialect; +import org.hibernate.testing.SkipForDialect; import org.junit.Test; import org.hibernate.Session; @@ -32,6 +34,11 @@ import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; /** * @author Steve Ebersole */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class JoinedSubclassBulkManipTest extends BaseCoreFunctionalTestCase { @Override protected Class[] getAnnotatedClasses() { diff --git a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/EntityWithInverseOneToManyJoinTest.java b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/EntityWithInverseOneToManyJoinTest.java index a96dd678cd..913564f870 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/EntityWithInverseOneToManyJoinTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/EntityWithInverseOneToManyJoinTest.java @@ -23,11 +23,18 @@ */ package org.hibernate.test.immutable.entitywithmutablecollection.inverse; +import org.hibernate.dialect.CUBRIDDialect; import org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithOneToManyTest; +import org.hibernate.testing.SkipForDialect; /** * @author Gail Badner */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class EntityWithInverseOneToManyJoinTest extends AbstractEntityWithOneToManyTest { public String[] getMappings() { return new String[] { "immutable/entitywithmutablecollection/inverse/ContractVariationOneToManyJoin.hbm.xml" }; diff --git a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinFailureExpectedTest.java b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinFailureExpectedTest.java index d2d60a0a75..18e5b0b54f 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinFailureExpectedTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinFailureExpectedTest.java @@ -23,6 +23,8 @@ */ package org.hibernate.test.immutable.entitywithmutablecollection.inverse; +import org.hibernate.dialect.CUBRIDDialect; +import org.hibernate.testing.SkipForDialect; import org.junit.Test; import org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithOneToManyTest; @@ -31,6 +33,11 @@ import org.hibernate.testing.FailureExpected; /** * @author Gail Badner */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class VersionedEntityWithInverseOneToManyJoinFailureExpectedTest extends AbstractEntityWithOneToManyTest { public String[] getMappings() { return new String[] { "immutable/entitywithmutablecollection/inverse/ContractVariationVersionedOneToManyJoin.hbm.xml" }; diff --git a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinTest.java b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinTest.java index cf7bda64e9..57509a90a9 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/inverse/VersionedEntityWithInverseOneToManyJoinTest.java @@ -23,7 +23,9 @@ */ package org.hibernate.test.immutable.entitywithmutablecollection.inverse; +import org.hibernate.dialect.CUBRIDDialect; import org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithOneToManyTest; +import org.hibernate.testing.SkipForDialect; import org.hibernate.testing.TestForIssue; @@ -31,6 +33,11 @@ import org.hibernate.testing.TestForIssue; * @author Gail Badner */ @TestForIssue( jiraKey = "HHH-4992" ) +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class VersionedEntityWithInverseOneToManyJoinTest extends AbstractEntityWithOneToManyTest { public String[] getMappings() { return new String[] { "immutable/entitywithmutablecollection/inverse/ContractVariationVersionedOneToManyJoin.hbm.xml" }; diff --git a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/EntityWithNonInverseOneToManyJoinTest.java b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/EntityWithNonInverseOneToManyJoinTest.java index c99d427e32..947d3fd69f 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/EntityWithNonInverseOneToManyJoinTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/EntityWithNonInverseOneToManyJoinTest.java @@ -23,11 +23,18 @@ */ package org.hibernate.test.immutable.entitywithmutablecollection.noninverse; +import org.hibernate.dialect.CUBRIDDialect; import org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithOneToManyTest; +import org.hibernate.testing.SkipForDialect; /** * @author Gail Badner */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class EntityWithNonInverseOneToManyJoinTest extends AbstractEntityWithOneToManyTest { public String[] getMappings() { return new String[] { "immutable/entitywithmutablecollection/noninverse/ContractVariationOneToManyJoin.hbm.xml" }; diff --git a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/VersionedEntityWithNonInverseOneToManyJoinTest.java b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/VersionedEntityWithNonInverseOneToManyJoinTest.java index dd5d21e2a3..11c71880fb 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/VersionedEntityWithNonInverseOneToManyJoinTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/immutable/entitywithmutablecollection/noninverse/VersionedEntityWithNonInverseOneToManyJoinTest.java @@ -23,11 +23,18 @@ */ package org.hibernate.test.immutable.entitywithmutablecollection.noninverse; +import org.hibernate.dialect.CUBRIDDialect; import org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithOneToManyTest; +import org.hibernate.testing.SkipForDialect; /** * @author Gail Badner */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class VersionedEntityWithNonInverseOneToManyJoinTest extends AbstractEntityWithOneToManyTest { public String[] getMappings() { return new String[] { "immutable/entitywithmutablecollection/noninverse/ContractVariationVersionedOneToManyJoin.hbm.xml" }; diff --git a/hibernate-core/src/test/java/org/hibernate/test/onetomany/OneToManyTest.java b/hibernate-core/src/test/java/org/hibernate/test/onetomany/OneToManyTest.java index b8c59e7c48..e1120d185b 100755 --- a/hibernate-core/src/test/java/org/hibernate/test/onetomany/OneToManyTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/onetomany/OneToManyTest.java @@ -23,6 +23,8 @@ */ package org.hibernate.test.onetomany; +import org.hibernate.dialect.CUBRIDDialect; +import org.hibernate.testing.SkipForDialect; import org.junit.Test; import org.hibernate.Session; @@ -41,6 +43,11 @@ public class OneToManyTest extends BaseCoreFunctionalTestCase { @SuppressWarnings( {"unchecked", "UnusedAssignment"}) @Test + @SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" + ) public void testOneToManyLinkTable() { Session s = openSession(); Transaction t = s.beginTransaction(); diff --git a/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java b/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java index 5bfb4f0234..7e077d4baf 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java @@ -28,6 +28,8 @@ import java.util.HashSet; import java.util.Iterator; import java.util.List; +import org.hibernate.dialect.CUBRIDDialect; +import org.hibernate.testing.SkipForDialect; import org.junit.Test; import org.hibernate.Session; @@ -39,6 +41,11 @@ import static org.junit.Assert.assertEquals; /** * @author Steve Ebersole */ +@SkipForDialect( + value = CUBRIDDialect.class, + comment = "As of verion 8.4.1 CUBRID doesn't support temporary tables. This test fails with" + + "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables" +) public class JoinedSubclassFilterTest extends BaseCoreFunctionalTestCase { public final String[] getMappings() { return new String[] { "subclassfilter/joined-subclass.hbm.xml" };