HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields

This commit is contained in:
Steve Ebersole 2012-01-09 17:53:11 -06:00
parent e69104cd23
commit 35ce5bfef7
2 changed files with 6 additions and 0 deletions

View File

@ -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 );
}

View File

@ -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 );
}
}