Class SingleIdEntityLoaderSupport<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport<T>
-
- All Implemented Interfaces:
EntityLoader
,Loader
,SingleEntityLoader<T>
,SingleIdEntityLoader<T>
- Direct Known Subclasses:
AbstractEntityBatchLoader
,SingleIdEntityLoaderStandardImpl
public abstract class SingleIdEntityLoaderSupport<T> extends Object implements SingleIdEntityLoader<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected SessionFactoryImplementor
sessionFactory
-
Constructor Summary
Constructors Constructor Description SingleIdEntityLoaderSupport(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingType
getLoadable()
The value-mapping loaded by this loaderObject[]
loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Load database snapshot by primary key value-
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.SingleIdEntityLoader
load, load, load
-
-
-
-
Field Detail
-
sessionFactory
protected final SessionFactoryImplementor sessionFactory
-
-
Constructor Detail
-
SingleIdEntityLoaderSupport
public SingleIdEntityLoaderSupport(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getLoadable
public EntityMappingType getLoadable()
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceEntityLoader
- Specified by:
getLoadable
in interfaceLoader
- Specified by:
getLoadable
in interfaceSingleEntityLoader<T>
-
loadDatabaseSnapshot
public Object[] loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoader
Load database snapshot by primary key value- Specified by:
loadDatabaseSnapshot
in interfaceSingleIdEntityLoader<T>
-
-