HHH-13640 : Remove SharedSessionContractImplementor#internalLoad(String, Serializable, boolean, boolean, Boolean unwrapProxy)
(cherry picked from commit e10e84159a
)
This commit is contained in:
parent
7249e4f736
commit
d3d7705fa6
|
@ -246,15 +246,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.
|
||||
|
|
|
@ -1132,17 +1132,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 LoadEventListener.LoadType type;
|
||||
if ( nullable ) {
|
||||
type = LoadEventListener.INTERNAL_LOAD_NULLABLE;
|
||||
|
|
|
@ -683,8 +683,7 @@ public abstract class EntityType extends AbstractType implements AssociationType
|
|||
getAssociatedEntityName(),
|
||||
id,
|
||||
eager,
|
||||
isNullable(),
|
||||
unwrapProxy
|
||||
isNullable()
|
||||
);
|
||||
|
||||
if ( proxyOrEntity instanceof HibernateProxy ) {
|
||||
|
|
Loading…
Reference in New Issue