From c17e4832a9fb982472c2a9af6695ec8ad2efe08b Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Thu, 8 Nov 2018 08:35:50 -0500 Subject: [PATCH] HHH-12913 - Fix test failure on Oracle db. --- .../auditoverride/AuditOverrideAuditJoinTableTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditOverrideAuditJoinTableTest.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditOverrideAuditJoinTableTest.java index 23df753fb7..5cafeef4b6 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditOverrideAuditJoinTableTest.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/superclass/auditoverride/AuditOverrideAuditJoinTableTest.java @@ -132,7 +132,7 @@ public class AuditOverrideAuditJoinTableTest extends BaseEnversJPAFunctionalTest try { entityManagerFactory().unwrap( SessionFactoryImplementor.class ) .getMetamodel() - .locateEntityPersister( "OtherOverrideAuditedEntity_StringList" ); + .locateEntityPersister( "OOAE_StringList" ); } catch ( UnknownEntityTypeException e ) { fail( "Expected to find an entity-persister for the string-list in the super audit type" ); @@ -144,7 +144,7 @@ public class AuditOverrideAuditJoinTableTest extends BaseEnversJPAFunctionalTest try { entityManagerFactory().unwrap( SessionFactoryImplementor.class ) .getMetamodel() - .locateEntityPersister( "OtherAuditParentsAuditEntity_StringList" ); + .locateEntityPersister( "OAPAE_StringList" ); } catch ( UnknownEntityTypeException e ) { fail( "Expected to find an entity-persister for the string-list in the super audit type" ); @@ -256,7 +256,7 @@ public class AuditOverrideAuditJoinTableTest extends BaseEnversJPAFunctionalTest private Timestamp version; private String superValue; @ElementCollection - @AuditJoinTable(name = "NonAuditedSuperClass_StringList") + @AuditJoinTable(name = "NASC_StringList") private List superStringList; public long getId() { @@ -298,7 +298,7 @@ public class AuditOverrideAuditJoinTableTest extends BaseEnversJPAFunctionalTest @AuditOverride( forClass = NonAuditedSuperClass.class, name = "superStringList", - auditJoinTable = @AuditJoinTable(name = "OtherOverrideAuditedEntity_StringList") + auditJoinTable = @AuditJoinTable(name = "OOAE_StringList") ) }) public static class OtherOverrideAuditedEntity extends NonAuditedSuperClass { @@ -329,7 +329,7 @@ public class AuditOverrideAuditJoinTableTest extends BaseEnversJPAFunctionalTest @AuditOverride( forClass = NonAuditedSuperClass.class, name = "superStringList", - auditJoinTable = @AuditJoinTable(name = "OtherAuditParentsAuditEntity_StringList") + auditJoinTable = @AuditJoinTable(name = "OAPAE_StringList") ) }) public static class OtherAuditParentsAuditEntity extends NonAuditedSuperClass {