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