Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.jdbc » kernel » [javadoc | source]
org.apache.openjpa.jdbc.kernel
public class: BatchingConstraintUpdateManager [javadoc | source]
java.lang.Object
   org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
      org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager
         org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager

All Implemented Interfaces:
    UpdateManager, Configurable

Batch update manager that writes the SQL in object-level operation order. This update manager initiates a BatchPreparedStatementManagerImpl which will utilize the JDBC addBatch() and executeBatch() APIs to batch the statements for performance improvement.

This is the default plug-in class for UpdateManager to support statement batching. You can plug-in your own statement batch implementation through the following property:

< property name="openjpa.jdbc.UpdateManager"
value="org.apache.openjpa.jdbc.kernel.YourOperationOrderUpdateManager" />

Fields inherited from org.apache.openjpa.jdbc.kernel.AbstractUpdateManager:
conf,  dict
Method from org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager Summary:
flush,   newPreparedStatementManager
Methods from org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager:
flush,   flush,   flushGraph,   newDepthFirstAnalysis,   newPreparedStatementManager,   newRowManager,   orderDirty
Methods from org.apache.openjpa.jdbc.kernel.AbstractUpdateManager:
addException,   delete,   endConfiguration,   flush,   flush,   insert,   newPreparedStatementManager,   newRowManager,   populateRowManager,   setConfiguration,   startConfiguration,   update,   updateIndicators
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager Detail:
 protected Collection flush(RowManager rowMgr,
    PreparedStatementManager psMgr,
    Collection exceps) 
 protected PreparedStatementManager newPreparedStatementManager(JDBCStore store,
    Connection conn)