diff --git a/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/embeddedid/MappedSuperclassWithEmbeddedIdTest.java b/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/embeddedid/MappedSuperclassWithEmbeddedIdTest.java index 0de505da09..1b2531ca70 100644 --- a/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/embeddedid/MappedSuperclassWithEmbeddedIdTest.java +++ b/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/embeddedid/MappedSuperclassWithEmbeddedIdTest.java @@ -45,6 +45,9 @@ public class MappedSuperclassWithEmbeddedIdTest extends BaseUnitTestCase { assertNotNull( "'Product_.description' should not be null)", Product_.description ); assertNotNull( "'Product_.id' should not be null)", Product_.id ); + + assertNotNull( "'Product_.id' should not be null)", AbstractProduct_.id ); + assertNotNull( "'ProductId_.id' should not be null)", ProductId_.id ); assertNotNull( "'ProductId_.code' should not be null)", ProductId_.code ); } diff --git a/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/idclass/MappedSuperclassWithEntityWithIdClassTest.java b/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/idclass/MappedSuperclassWithEntityWithIdClassTest.java index 28055ee1e5..a4eb136219 100644 --- a/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/idclass/MappedSuperclassWithEntityWithIdClassTest.java +++ b/hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/metadata/mappedsuperclass/idclass/MappedSuperclassWithEntityWithIdClassTest.java @@ -47,6 +47,9 @@ public class MappedSuperclassWithEntityWithIdClassTest extends BaseUnitTestCase assertNotNull( "'ProductAttribute_.value' should not be null)", ProductAttribute_.value ); assertNotNull( "'ProductAttribute_.owner' should not be null)", ProductAttribute_.owner ); assertNotNull( "'ProductAttribute_.key' should not be null)", ProductAttribute_.key ); + + assertNotNull( "'AbstractAttribute_.owner' should not be null)", AbstractAttribute_.owner ); + assertNotNull( "'AbstractAttribute_.key' should not be null)", AbstractAttribute_.key ); } }