当前页面: 
在线文档首页 > 
Hibernate 2.1.8 正式版 API 英文文档
NonBatchingBatcher (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.impl
Class NonBatchingBatcher
java.lang.Object
   net.sf.hibernate.impl.BatcherImpl
net.sf.hibernate.impl.BatcherImpl
       net.sf.hibernate.impl.NonBatchingBatcher
net.sf.hibernate.impl.NonBatchingBatcher
- All Implemented Interfaces: 
- Batcher
- public class NonBatchingBatcher- extends BatcherImpl
An implementation of the Batcher interface that does no batching
- Author:
- Gavin King
 
 
 
| Method Summary | 
|  void | addToBatch(int expectedRowCount)Add an insert / delete / update to the current batch (might be called multiple times
 for single prepareBatchStatement())
 | 
| protected  void | doExecuteBatch(PreparedStatement ps)
 | 
 
| Methods inherited from class net.sf.hibernate.impl.BatcherImpl | 
| abortBatch, cancelLastQuery, closeConnection, closeQueryStatement, closeStatement, closeStatements, convert, executeBatch, getFactory, getResultSet, getSession, getStatement, openConnection, prepareBatchStatement, prepareQueryStatement, prepareStatement, prepareStatement | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NonBatchingBatcher
public NonBatchingBatcher(SessionImplementor session)
addToBatch
public void addToBatch(int expectedRowCount)
                throws SQLException,
                       HibernateException
- Description copied from interface: Batcher
- Add an insert / delete / update to the current batch (might be called multiple times
 for single prepareBatchStatement())
 
- 
- Throws:
- SQLException
- HibernateException
 
doExecuteBatch
protected void doExecuteBatch(PreparedStatement ps)
                       throws SQLException,
                              HibernateException
- 
- Specified by:
- doExecuteBatchin class- BatcherImpl
 
- 
- Throws:
- SQLException
- HibernateException