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
ConstructorsConstructorDescriptionSingleIdEntityLoaderProvidedQueryImpl
(EntityMappingType entityDescriptor, NamedQueryMemento<?> namedQueryMemento) -
Method Summary
Modifier and TypeMethodDescriptionThe value-mapping loaded by this loaderload
(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) 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 valueMethods 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 Details
-
SingleIdEntityLoaderProvidedQueryImpl
public SingleIdEntityLoaderProvidedQueryImpl(EntityMappingType entityDescriptor, NamedQueryMemento<?> namedQueryMemento)
-
-
Method Details
-
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>
-