当前页面: 
在线文档首页 > 
Hibernate 2.1.8 正式版 API 英文文档
BatchingEntityLoader (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.loader
Class BatchingEntityLoader
java.lang.Object
  
net.sf.hibernate.loader.BatchingEntityLoader
- All Implemented Interfaces: 
 - UniqueEntityLoader
 
- public class BatchingEntityLoader
- extends Object
- implements UniqueEntityLoader
   
"Batch" loads entities, using multiple primary key values in the
 SQL where clause.
- Author:
 
  - Gavin King
 
- See Also:
 EntityLoader
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BatchingEntityLoader
public BatchingEntityLoader(ClassPersister persister,
                            int batchSize,
                            Loader batchLoader,
                            int smallBatchSize,
                            Loader smallBatchLoader,
                            Loader nonBatchLoader)
load
public Object load(SessionImplementor session,
                   Serializable id,
                   Object optionalObject)
            throws SQLException,
                   HibernateException
- Description copied from interface: 
UniqueEntityLoader 
- Load an entity instance. If optionalObject is supplied,
 load the entity state into the given (uninitialized) object.
- Specified by:
 load in interface UniqueEntityLoader
 
- Throws:
 SQLException
HibernateException