类 NonBatchingBatch
- java.lang.Object
-
- org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl
-
- org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch
-
- 所有已实现的接口:
Batch
public class NonBatchingBatch extends AbstractBatchImpl
An implementation ofBatchwhich does not perform batching. It simply executes each statement as it is encountered.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 限定符 构造器 说明 protectedNonBatchingBatch(BatchKey key, JdbcCoordinator jdbcCoordinator)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddToBatch()Indicates completion of the current part of the batch.protected voidclearBatch(PreparedStatement statement)protected voiddoExecuteBatch()Perform batch execution..-
从类继承的方法 org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl
abortBatch, addObserver, execute, getBatchStatement, getJdbcCoordinator, getKey, getStatements, notifyObserversExplicitExecution, notifyObserversImplicitExecution, release, releaseStatements, sqlExceptionHelper, sqlStatementLogger
-
-
-
-
构造器详细资料
-
NonBatchingBatch
protected NonBatchingBatch(BatchKey key, JdbcCoordinator jdbcCoordinator)
-
-
方法详细资料
-
addToBatch
public void addToBatch()
从接口复制的说明:BatchIndicates completion of the current part of the batch.
-
clearBatch
protected void clearBatch(PreparedStatement statement)
- 覆盖:
clearBatch在类中AbstractBatchImpl
-
doExecuteBatch
protected void doExecuteBatch()
从类复制的说明:AbstractBatchImplPerform batch execution.. This is called from the explicitexecution, but may also be called from elsewhere depending on the exact implementation.- 指定者:
doExecuteBatch在类中AbstractBatchImpl
-
-