mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-22 11:06:08 +00:00
Rebase main -> 7.0
fixups
This commit is contained in:
parent
0b5ce3b341
commit
f63e7cb1ac
@ -807,6 +807,13 @@ else if (isEntityDefined(queryName)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <X> ManagedDomainType<X> managedType(String typeName) {
|
||||
final String entityName = findEntityName( typeName );
|
||||
//noinspection unchecked
|
||||
return entityName == null ? null : (ManagedDomainType<X>) entity( entityName );
|
||||
}
|
||||
|
||||
@Override
|
||||
public <X> ManagedDomainType<X> findManagedType(Class<X> cls) {
|
||||
throw new UnsupportedOperationException("operation not supported");
|
||||
|
Loading…
x
Reference in New Issue
Block a user