HHH-14178 Fix oracle test failures

This commit is contained in:
Andrea Boriero 2020-09-01 10:48:37 +01:00
parent f07c26339b
commit efa7e66c73
1 changed files with 7 additions and 4 deletions

View File

@ -27,6 +27,8 @@ import org.hibernate.Transaction;
import org.hibernate.annotations.Cascade; import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.testing.DialectChecks;
import org.hibernate.testing.RequiresDialectFeature;
import org.hibernate.testing.TestForIssue; import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.After; import org.junit.After;
@ -39,6 +41,7 @@ import org.junit.Test;
* @author Nathan Xu * @author Nathan Xu
*/ */
@TestForIssue( jiraKey = "HHH-14178" ) @TestForIssue( jiraKey = "HHH-14178" )
@RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class)
public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunctionalTestCase { public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunctionalTestCase {
private UnversionedParent up; private UnversionedParent up;
@ -265,7 +268,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
} }
@Entity(name = "UnversionedParent") @Entity(name = "UnversionedParent")
@Table(name = "UnversionedParent") @Table(name = "UnversParent")
@DynamicUpdate @DynamicUpdate
public static class UnversionedParent { public static class UnversionedParent {
private Integer id; private Integer id;
@ -346,7 +349,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
} }
@Entity(name = "VersionedParent") @Entity(name = "VersionedParent")
@Table(name = "VersionedParent") @Table(name = "VersParent")
@DynamicUpdate @DynamicUpdate
public static class VersionedParent { public static class VersionedParent {
private Integer id; private Integer id;
@ -438,7 +441,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
} }
@Entity(name = "VersionedMappingUnversionedParent") @Entity(name = "VersionedMappingUnversionedParent")
@Table(name = "VersionedMappingUnversionedParent") @Table(name = "VersdMapUnversParent")
@DynamicUpdate @DynamicUpdate
public static class VersionedMappingUnversionedParent { public static class VersionedMappingUnversionedParent {
private MappingId id; private MappingId id;
@ -551,7 +554,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
} }
@Entity(name = "VersionedMappingVersionedParent") @Entity(name = "VersionedMappingVersionedParent")
@Table(name = "VersionedMappingVersionedParent") @Table(name = "VersMapVersParent")
@DynamicUpdate @DynamicUpdate
public static class VersionedMappingVersionedParent { public static class VersionedMappingVersionedParent {
private MappingId id; private MappingId id;