mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-17292 Correct find subtypes attribute for nested types
This commit is contained in:
parent
b5d26d19c1
commit
79d6bc9b01
@ -187,7 +187,7 @@ public PersistentAttribute<? super J,?> findAttribute(String name) {
|
||||
}
|
||||
|
||||
for ( ManagedDomainType<? extends J> subType : subTypes ) {
|
||||
final PersistentAttribute<?,?> subTypeAttribute = subType.findAttribute( name );
|
||||
final PersistentAttribute<?,?> subTypeAttribute = subType.findSubTypesAttribute( name );
|
||||
if ( subTypeAttribute != null ) {
|
||||
return subTypeAttribute;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user