HHH-5472 : test fixes for dialects that don't support identities
This commit is contained in:
parent
9ff70a8acf
commit
0c80b409a1
|
@ -29,6 +29,8 @@ import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
|
import org.hibernate.testing.DialectChecks;
|
||||||
|
import org.hibernate.testing.RequiresDialectFeature;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -79,6 +81,7 @@ import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
* Entities are inserted in the following order:
|
* Entities are inserted in the following order:
|
||||||
* c, e, d, b, g, f.
|
* c, e, d, b, g, f.
|
||||||
*/
|
*/
|
||||||
|
@RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class)
|
||||||
public class MultiCircleJpaCascadeIdentityTest extends BaseCoreFunctionalTestCase {
|
public class MultiCircleJpaCascadeIdentityTest extends BaseCoreFunctionalTestCase {
|
||||||
private B b;
|
private B b;
|
||||||
private C c;
|
private C c;
|
||||||
|
|
|
@ -29,6 +29,8 @@ import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
|
import org.hibernate.testing.DialectChecks;
|
||||||
|
import org.hibernate.testing.RequiresDialectFeature;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -79,6 +81,7 @@ import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
* Entities are inserted in the following order:
|
* Entities are inserted in the following order:
|
||||||
* c, e, d, b, g, f.
|
* c, e, d, b, g, f.
|
||||||
*/
|
*/
|
||||||
|
@RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class)
|
||||||
public class MultiCircleNonJpaCascadeIdentityTest extends BaseCoreFunctionalTestCase {
|
public class MultiCircleNonJpaCascadeIdentityTest extends BaseCoreFunctionalTestCase {
|
||||||
private B b;
|
private B b;
|
||||||
private C c;
|
private C c;
|
||||||
|
|
Loading…
Reference in New Issue