Package org.hibernate.loader.ast.spi
Interface SingleEntityLoader<T>
-
- All Superinterfaces:
EntityLoader
,Loader
- All Known Subinterfaces:
EntityBatchLoader<T>
,SingleIdEntityLoader<T>
,SingleUniqueKeyEntityLoader<T>
- All Known Implementing Classes:
AbstractEntityBatchLoader
,EntityBatchLoaderArrayParam
,EntityBatchLoaderInPredicate
,SingleIdEntityLoaderProvidedQueryImpl
,SingleIdEntityLoaderStandardImpl
,SingleIdEntityLoaderSupport
,SingleUniqueKeyEntityLoaderStandard
public interface SingleEntityLoader<T> extends EntityLoader
Loader for loading a single entity by primary or unique key
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityMappingType
getLoadable()
The value-mapping loaded by this loaderT
load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load an entity by a primary or unique key value.
-
-
-
Method Detail
-
getLoadable
EntityMappingType getLoadable()
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceEntityLoader
- Specified by:
getLoadable
in interfaceLoader
-
load
T load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load an entity by a primary or unique key value.
-
-