HHH-8067 - Hibernate's ManagedType#getDeclaredAttribute fails to find plural attributes
This commit is contained in:
parent
89fd64bc2e
commit
e5df5541c7
|
@ -138,7 +138,7 @@ public abstract class AbstractManagedType<X>
|
|||
* {@inheritDoc}
|
||||
*/
|
||||
public Attribute<X, ?> getDeclaredAttribute(String name) {
|
||||
final Attribute<X, ?> attr = declaredSingularAttributes.get( name );
|
||||
Attribute<X, ?> attr = declaredAttributes.get( name );
|
||||
checkNotNull( "Attribute ", attr, name );
|
||||
return attr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue