Rebase main -> 7.0

fixups
This commit is contained in:
Steve Ebersole 2024-07-22 15:17:48 -05:00
parent 0b5ce3b341
commit f63e7cb1ac
1 changed files with 7 additions and 0 deletions

View File

@ -807,6 +807,13 @@ public abstract class MockSessionFactory
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");