Package org.hibernate.loader.ast.spi
Interface SingleUniqueKeyEntityLoader<T>
-
- All Superinterfaces:
EntityLoader
,Loader
,SingleEntityLoader<T>
- All Known Implementing Classes:
SingleUniqueKeyEntityLoaderStandard
public interface SingleUniqueKeyEntityLoader<T> extends SingleEntityLoader<T>
Loader subtype for loading an entity by a single unique-key value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by unique key valueObject
resolveId(Object key, SharedSessionContractImplementor session)
Resolve the matching id-
Methods inherited from interface org.hibernate.loader.ast.spi.SingleEntityLoader
getLoadable
-
-
-
-
Method Detail
-
load
T load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by unique key value- Specified by:
load
in interfaceSingleEntityLoader<T>
-
resolveId
Object resolveId(Object key, SharedSessionContractImplementor session)
Resolve the matching id
-
-