mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 14:30:16 +00:00
HHH-8067 - Hibernate's ManagedType#getDeclaredAttribute fails to find plural attributes
(cherry picked from commit e5df5541c7f1bb21ab30e366d5971fa487cb53a4)
This commit is contained in:
parent
37f3fd7bc7
commit
1a3c25aa8b
@ -138,7 +138,7 @@ public static interface Builder<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…
x
Reference in New Issue
Block a user