kodo.jdbc.kernel
Class AutoOrderUpdateManager
java.lang.Object
   org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
       kodo.jdbc.kernel.AutoOrderUpdateManager
kodo.jdbc.kernel.AutoOrderUpdateManager
- All Implemented Interfaces: 
- UpdateManager, Configurable
- Direct Known Subclasses: 
- ConstraintUpdateManager, TableLockUpdateManager
- public abstract class AutoOrderUpdateManager 
- extends AbstractUpdateManager
Base update manager for subclasses that order statements and batch
 statements when possible.
 
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.jdbc.kernel.AbstractUpdateManager | 
| addException, delete, endConfiguration, flush, flush, insert, newRowManager, populateRowManager, startConfiguration, update, updateIndicators | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
batch
protected boolean batch
maxBatch
protected boolean maxBatch
sqlComparator
protected AutoOrderUpdateManager.SQLComparator sqlComparator
AutoOrderUpdateManager
public AutoOrderUpdateManager()
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 tofalse,
 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 tofalse,
 Kodo will do no reordering, but batching will still occur when it
 happens to do so.
 
- 
 
setConfiguration
public void setConfiguration(Configuration c)
- 
- Specified by:
- setConfigurationin interface- Configurable
- Overrides:
- setConfigurationin class- AbstractUpdateManager
 
- 
 
newPreparedStatementManager
protected PreparedStatementManager newPreparedStatementManager(JDBCStore store,
                                                               Connection conn)
- 
- Specified by:
- newPreparedStatementManagerin class- AbstractUpdateManager
 
- 
 
flush
protected void flush(Collection rows,
                     PreparedStatementManager psMgr)
- Flush the given collection of secondary rows.
 
- 
 
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.