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 EntityMappingTypegetLoadable()The value-mapping loaded by this loaderTload(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:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceEntityLoader- Specified by:
getLoadablein interfaceLoader
-
load
T load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load an entity by a primary or unique key value.
-
-