Kodo 4.2.0. generated on July 28 2008

kodo.jdbc.kernel
Class BatchingOperationOrderUpdateManager

java.lang.Object
  extended by org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
      extended by org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
          extended by kodo.jdbc.kernel.BatchingOperationOrderUpdateManager
All Implemented Interfaces:
UpdateManager, Configurable

public class BatchingOperationOrderUpdateManager
extends OperationOrderUpdateManager

Batching specialization of the OperationOrderUpdateManager.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
AbstractUpdateManager.CustomMapping
 
Field Summary
 
Fields inherited from class org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
conf, dict
 
Constructor Summary
BatchingOperationOrderUpdateManager()
           
 
Method Summary
protected  void flush(Collection rows, PreparedStatementManager psMgr)
           
 boolean getMaximizeBatchSize()
          Whether or not statements will be dynamically re-ordered to maximize batching.
protected  PreparedStatementManager newPreparedStatementManager(JDBCStore store, Connection conn)
           
 void setConfiguration(Configuration c)
           
 void setMaximizeBatchSize(boolean max)
          Whether or not statements will be dynamically re-ordered to maximize batching.
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
flush, newRowManager, orderDirty
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
addException, delete, endConfiguration, flush, insert, populateRowManager, startConfiguration, update, updateIndicators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchingOperationOrderUpdateManager

public BatchingOperationOrderUpdateManager()
Method Detail

getMaximizeBatchSize

public boolean getMaximizeBatchSize()
Whether or not statements will be dynamically re-ordered to maximize batching. When set to true, Kodo will automatically re-order SQL statements to maximize the amount of statement batching that can occur. When set to false, Kodo will do no reordering, but batching will still occur when it happens to do so.


setMaximizeBatchSize

public void setMaximizeBatchSize(boolean max)
Whether or not statements will be dynamically re-ordered to maximize batching. When set to true, Kodo will automatically re-order SQL statements to maximize the amount of statement batching that can occur. When set to false, Kodo will do no reordering, but batching will still occur when it happens to do so.


setConfiguration

public void setConfiguration(Configuration c)
Specified by:
setConfiguration in interface Configurable
Overrides:
setConfiguration in class AbstractUpdateManager

newPreparedStatementManager

protected PreparedStatementManager newPreparedStatementManager(JDBCStore store,
                                                               Connection conn)
Overrides:
newPreparedStatementManager in class OperationOrderUpdateManager

flush

protected void flush(Collection rows,
                     PreparedStatementManager psMgr)
Overrides:
flush in class OperationOrderUpdateManager

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.