HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields
This commit is contained in:
parent
e69104cd23
commit
35ce5bfef7
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue