HHH-13640 : Remove SharedSessionContractImplementor#internalLoad(String, Serializable, boolean, boolean, Boolean unwrapProxy)
This commit is contained in:
parent
c21ecb511c
commit
e10e84159a
|
@ -255,15 +255,6 @@ public interface SharedSessionContractImplementor
|
|||
Object internalLoad(String entityName, Serializable id, boolean eager, boolean nullable)
|
||||
throws HibernateException;
|
||||
|
||||
default Object internalLoad(
|
||||
String entityName,
|
||||
Serializable id,
|
||||
boolean eager,
|
||||
boolean nullable,
|
||||
Boolean unwrapProxy) throws HibernateException {
|
||||
return internalLoad( entityName, id, eager, nullable );
|
||||
}
|
||||
|
||||
/**
|
||||
* Load an instance immediately. This method is only called when lazily initializing a proxy.
|
||||
* Do not return the proxy.
|
||||
|
|
|
@ -1001,18 +1001,7 @@ public final class SessionImpl
|
|||
String entityName,
|
||||
Serializable id,
|
||||
boolean eager,
|
||||
boolean nullable) throws HibernateException {
|
||||
return internalLoad( entityName, id, eager, nullable, null );
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Object internalLoad(
|
||||
String entityName,
|
||||
Serializable id,
|
||||
boolean eager,
|
||||
boolean nullable,
|
||||
Boolean unwrapProxy) {
|
||||
boolean nullable) {
|
||||
final EffectiveEntityGraph effectiveEntityGraph = getLoadQueryInfluencers().getEffectiveEntityGraph();
|
||||
final GraphSemantic semantic = effectiveEntityGraph.getSemantic();
|
||||
final RootGraphImplementor<?> graph = effectiveEntityGraph.getGraph();
|
||||
|
|
|
@ -688,8 +688,7 @@ public abstract class EntityType extends AbstractType implements AssociationType
|
|||
getAssociatedEntityName(),
|
||||
id,
|
||||
eager,
|
||||
isNullable(),
|
||||
unwrapProxy
|
||||
isNullable()
|
||||
);
|
||||
|
||||
if ( proxyOrEntity instanceof HibernateProxy ) {
|
||||
|
|
Loading…
Reference in New Issue