HHH-7716 Skip these tests for CUBRID dialect as temp tables aren't
supported yet. Raises: "HibernateException: cannot doAfterTransactionCompletion multi-table deletes using dialect not supporting temp tables"
This commit is contained in:
parent
9be3666141
commit
e7af2f4b76
|
@ -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[] {
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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" };
|
||||
|
|
|
@ -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" };
|
||||
|
|
|
@ -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" };
|
||||
|
|
|
@ -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" };
|
||||
|
|
|
@ -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" };
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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" };
|
||||
|
|
Loading…
Reference in New Issue