parent
0b5ce3b341
commit
f63e7cb1ac
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue