Class SingleUniqueKeyEntityLoaderStandard<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleUniqueKeyEntityLoaderStandard<T>
-
- All Implemented Interfaces:
EntityLoader,Loader,SingleEntityLoader<T>,SingleUniqueKeyEntityLoader<T>
public class SingleUniqueKeyEntityLoaderStandard<T> extends Object implements SingleUniqueKeyEntityLoader<T>
-
-
Constructor Summary
Constructors Constructor Description SingleUniqueKeyEntityLoaderStandard(EntityMappingType entityDescriptor, SingularAttributeMapping uniqueKeyAttribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingTypegetLoadable()The value-mapping loaded by this loaderTload(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)Load by unique key valueObjectresolveId(Object ukValue, SharedSessionContractImplementor session)Resolve the matching id
-
-
-
Constructor Detail
-
SingleUniqueKeyEntityLoaderStandard
public SingleUniqueKeyEntityLoaderStandard(EntityMappingType entityDescriptor, SingularAttributeMapping uniqueKeyAttribute)
-
-
Method Detail
-
getLoadable
public EntityMappingType getLoadable()
Description copied from interface:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceEntityLoader- Specified by:
getLoadablein interfaceLoader- Specified by:
getLoadablein interfaceSingleEntityLoader<T>
-
load
public T load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Description copied from interface:SingleUniqueKeyEntityLoaderLoad by unique key value- Specified by:
loadin interfaceSingleEntityLoader<T>- Specified by:
loadin interfaceSingleUniqueKeyEntityLoader<T>
-
resolveId
public Object resolveId(Object ukValue, SharedSessionContractImplementor session)
Description copied from interface:SingleUniqueKeyEntityLoaderResolve the matching id- Specified by:
resolveIdin interfaceSingleUniqueKeyEntityLoader<T>
-
-