mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 09:05:21 +00:00
improve generic typing of Hibernate.isPropertyInitialized()
This commit is contained in:
parent
09dd5daa73
commit
bbee6cd4aa
@ -305,7 +305,7 @@ public static boolean isInstance(Object proxy, Class<?> entityClass) {
|
||||
* @return true if the named property of the object is not listed as uninitialized;
|
||||
* false otherwise
|
||||
*/
|
||||
public <E, T> boolean isPropertyInitialized(E entity, Attribute<E, T> attribute) {
|
||||
public <E> boolean isPropertyInitialized(E entity, Attribute<? super E, ?> attribute) {
|
||||
return isPropertyInitialized( entity, attribute.getName() );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user