kodo.jdbc.kernel
Class BatchingOperationOrderUpdateManager
java.lang.Object
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
kodo.jdbc.kernel.BatchingOperationOrderUpdateManager
- All Implemented Interfaces:
- org.apache.openjpa.jdbc.kernel.UpdateManager, org.apache.openjpa.lib.conf.Configurable
public class BatchingOperationOrderUpdateManager
- extends org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
Batching specialization of the OperationOrderUpdateManager.
| Fields inherited from class org.apache.openjpa.jdbc.kernel.AbstractUpdateManager |
conf, dict |
|
Method Summary |
protected void |
flush(Collection rows,
org.apache.openjpa.jdbc.kernel.PreparedStatementManager psMgr)
|
boolean |
getMaximizeBatchSize()
Whether or not statements will be dynamically re-ordered to
maximize batching. |
protected org.apache.openjpa.jdbc.kernel.PreparedStatementManager |
newPreparedStatementManager(org.apache.openjpa.jdbc.kernel.JDBCStore store,
Connection conn)
|
void |
setConfiguration(org.apache.openjpa.lib.conf.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, endConfiguration, flush, startConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchingOperationOrderUpdateManager
public BatchingOperationOrderUpdateManager()
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(org.apache.openjpa.lib.conf.Configuration c)
- Specified by:
setConfiguration in interface org.apache.openjpa.lib.conf.Configurable- Overrides:
setConfiguration in class org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
newPreparedStatementManager
protected org.apache.openjpa.jdbc.kernel.PreparedStatementManager newPreparedStatementManager(org.apache.openjpa.jdbc.kernel.JDBCStore store,
Connection conn)
- Overrides:
newPreparedStatementManager in class org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
flush
protected void flush(Collection rows,
org.apache.openjpa.jdbc.kernel.PreparedStatementManager psMgr)
- Overrides:
flush in class org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.