HHH-7999 Oracle test failures due to lack of support for identity
columns
This commit is contained in:
parent
98a49b80b2
commit
b5de4cda15
|
@ -27,13 +27,17 @@ import static org.junit.Assert.assertNotNull;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
|
import org.hibernate.dialect.Oracle8iDialect;
|
||||||
import org.hibernate.test.jpa.AbstractJPATest;
|
import org.hibernate.test.jpa.AbstractJPATest;
|
||||||
|
import org.hibernate.testing.SkipForDialect;
|
||||||
import org.hibernate.testing.TestForIssue;
|
import org.hibernate.testing.TestForIssue;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
|
@SkipForDialect(value = Oracle8iDialect.class,
|
||||||
|
comment = "Oracle does not support identity key generation")
|
||||||
public class MutableNaturalIdTest extends AbstractJPATest {
|
public class MutableNaturalIdTest extends AbstractJPATest {
|
||||||
@Override
|
@Override
|
||||||
protected Class<?>[] getAnnotatedClasses() {
|
protected Class<?>[] getAnnotatedClasses() {
|
||||||
|
|
|
@ -11,6 +11,7 @@ import javax.transaction.TransactionManager;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import org.hibernate.dialect.Oracle8iDialect;
|
||||||
import org.hibernate.envers.RevisionType;
|
import org.hibernate.envers.RevisionType;
|
||||||
import org.hibernate.envers.enhanced.SequenceIdRevisionEntity;
|
import org.hibernate.envers.enhanced.SequenceIdRevisionEntity;
|
||||||
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
import org.hibernate.envers.test.BaseEnversJPAFunctionalTestCase;
|
||||||
|
@ -18,6 +19,7 @@ import org.hibernate.envers.test.Priority;
|
||||||
import org.hibernate.envers.test.entities.collection.MultipleCollectionEntity;
|
import org.hibernate.envers.test.entities.collection.MultipleCollectionEntity;
|
||||||
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity1;
|
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity1;
|
||||||
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity2;
|
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity2;
|
||||||
|
import org.hibernate.testing.SkipForDialect;
|
||||||
import org.hibernate.testing.TestForIssue;
|
import org.hibernate.testing.TestForIssue;
|
||||||
import org.hibernate.testing.jta.TestingJtaBootstrap;
|
import org.hibernate.testing.jta.TestingJtaBootstrap;
|
||||||
import org.hibernate.testing.jta.TestingJtaPlatformImpl;
|
import org.hibernate.testing.jta.TestingJtaPlatformImpl;
|
||||||
|
@ -32,6 +34,8 @@ import static org.junit.Assert.assertNotNull;
|
||||||
* @author Erik-Berndt Scheper
|
* @author Erik-Berndt Scheper
|
||||||
*/
|
*/
|
||||||
@TestForIssue(jiraKey = "HHH-6349")
|
@TestForIssue(jiraKey = "HHH-6349")
|
||||||
|
@SkipForDialect(value = Oracle8iDialect.class,
|
||||||
|
comment = "Oracle does not support identity key generation")
|
||||||
public class DetachedMultipleCollectionChangeTest extends BaseEnversJPAFunctionalTestCase {
|
public class DetachedMultipleCollectionChangeTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
private TransactionManager tm = null;
|
private TransactionManager tm = null;
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,12 @@ import javax.persistence.EntityManager;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import org.hibernate.dialect.Oracle8iDialect;
|
||||||
import org.hibernate.envers.test.Priority;
|
import org.hibernate.envers.test.Priority;
|
||||||
import org.hibernate.envers.test.entities.collection.MultipleCollectionEntity;
|
import org.hibernate.envers.test.entities.collection.MultipleCollectionEntity;
|
||||||
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity1;
|
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity1;
|
||||||
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity2;
|
import org.hibernate.envers.test.entities.collection.MultipleCollectionRefEntity2;
|
||||||
|
import org.hibernate.testing.SkipForDialect;
|
||||||
import org.hibernate.testing.TestForIssue;
|
import org.hibernate.testing.TestForIssue;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
@ -20,6 +22,8 @@ import static org.hibernate.envers.test.tools.TestTools.makeList;
|
||||||
* @author Lukasz Antoniak (lukasz dot antoniak at gmail dot com)
|
* @author Lukasz Antoniak (lukasz dot antoniak at gmail dot com)
|
||||||
*/
|
*/
|
||||||
@TestForIssue(jiraKey = "HHH-7437")
|
@TestForIssue(jiraKey = "HHH-7437")
|
||||||
|
@SkipForDialect(value = Oracle8iDialect.class,
|
||||||
|
comment = "Oracle does not support identity key generation")
|
||||||
public class HasChangedDetachedMultipleCollection extends AbstractModifiedFlagsEntityTest {
|
public class HasChangedDetachedMultipleCollection extends AbstractModifiedFlagsEntityTest {
|
||||||
private Long mce1Id = null;
|
private Long mce1Id = null;
|
||||||
private Long mce2Id = null;
|
private Long mce2Id = null;
|
||||||
|
|
Loading…
Reference in New Issue