org.hibernate.loader.entity
Class LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
java.lang.Object
org.hibernate.loader.entity.BatchingEntityLoader
org.hibernate.loader.entity.LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
- All Implemented Interfaces:
- UniqueEntityLoader
- Enclosing class:
- LegacyBatchingEntityLoaderBuilder
public static class LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
- extends BatchingEntityLoader
- implements UniqueEntityLoader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
public LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
public LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockOptions lockOptions,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
load
public Object load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions)
- Description copied from interface:
UniqueEntityLoader
- Load an entity instance by id. If optionalObject is supplied (non-null,
the entity state is loaded into that object instance instead of instantiating a new one.
- Specified by:
load
in interface UniqueEntityLoader
- Parameters:
id
- The id to be loadedoptionalObject
- The (optional) entity instance in to which to load the statesession
- The session from which the request originatedlockOptions
- The lock options.
- Returns:
- The loaded entity
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.