Class SingleUniqueKeyEntityLoaderStandard<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleUniqueKeyEntityLoaderStandard<T>
-
- All Implemented Interfaces:
Loader
,SingleEntityLoader
,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 EntityMappingType
getLoadable()
The value-mapping loaded by this loaderT
load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by unique key valueObject
resolveId(Object ukValue, SharedSessionContractImplementor session)
Resolve the matching id-
Methods 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.SingleEntityLoader
load
-
-
-
-
Constructor Detail
-
SingleUniqueKeyEntityLoaderStandard
public SingleUniqueKeyEntityLoaderStandard(EntityMappingType entityDescriptor, SingularAttributeMapping uniqueKeyAttribute)
-
-
Method Detail
-
getLoadable
public EntityMappingType getLoadable()
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceLoader
- Specified by:
getLoadable
in interfaceSingleEntityLoader<T>
-
load
public T load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Description copied from interface:SingleUniqueKeyEntityLoader
Load by unique key value- Specified by:
load
in interfaceSingleEntityLoader<T>
- Specified by:
load
in interfaceSingleUniqueKeyEntityLoader<T>
-
resolveId
public Object resolveId(Object ukValue, SharedSessionContractImplementor session)
Description copied from interface:SingleUniqueKeyEntityLoader
Resolve the matching id- Specified by:
resolveId
in interfaceSingleUniqueKeyEntityLoader<T>
-
-