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.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;