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 SessionFactoryImplementorsessionFactory
-
Constructor Summary
Constructors Constructor Description SingleIdEntityLoaderSupport(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingTypegetLoadable()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:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceEntityLoader- Specified by:
getLoadablein interfaceLoader- Specified by:
getLoadablein interfaceSingleEntityLoader<T>
-
loadDatabaseSnapshot
public Object[] loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoaderLoad database snapshot by primary key value- Specified by:
loadDatabaseSnapshotin interfaceSingleIdEntityLoader<T>
-
-