Class SingleIdEntityLoaderProvidedQueryImpl<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderProvidedQueryImpl<T>
-
- All Implemented Interfaces:
EntityLoader
,Loader
,SingleEntityLoader<T>
,SingleIdEntityLoader<T>
public class SingleIdEntityLoaderProvidedQueryImpl<T> extends Object implements SingleIdEntityLoader<T>
Implementation of SingleIdEntityLoader for cases where the application has provided the select load query
-
-
Constructor Summary
Constructors Constructor Description SingleIdEntityLoaderProvidedQueryImpl(EntityMappingType entityDescriptor, NamedQueryMemento namedQueryMemento)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingType
getLoadable()
The value-mapping loaded by this loaderT
load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by primary key valueObject[]
loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Load database snapshot by primary key value-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.loader.ast.spi.SingleIdEntityLoader
load
-
-
-
-
Constructor Detail
-
SingleIdEntityLoaderProvidedQueryImpl
public SingleIdEntityLoaderProvidedQueryImpl(EntityMappingType entityDescriptor, NamedQueryMemento namedQueryMemento)
-
-
Method Detail
-
getLoadable
public EntityMappingType getLoadable()
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceEntityLoader
- Specified by:
getLoadable
in interfaceLoader
- Specified by:
getLoadable
in interfaceSingleEntityLoader<T>
-
load
public T load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoader
Load by primary key value- Specified by:
load
in interfaceSingleEntityLoader<T>
- Specified by:
load
in interfaceSingleIdEntityLoader<T>
-
load
public T load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
- Specified by:
load
in interfaceSingleIdEntityLoader<T>
-
loadDatabaseSnapshot
public Object[] loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoader
Load database snapshot by primary key value- Specified by:
loadDatabaseSnapshot
in interfaceSingleIdEntityLoader<T>
-
-