org.apache.openjpa.jdbc.kernel
Class OperationOrderUpdateManager
java.lang.Object
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager
org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager
- All Implemented Interfaces:
- UpdateManager, Configurable
- Direct Known Subclasses:
- BatchingOperationOrderUpdateManager
public class OperationOrderUpdateManager
- extends AbstractUpdateManager
Update manager that writes SQL in object-level operation order.
- Author:
- Abe White
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationOrderUpdateManager
public OperationOrderUpdateManager()
orderDirty
public boolean orderDirty()
- Description copied from interface:
UpdateManager
- Whether the store context should maintain the order in which instances
are dirtied.
newRowManager
protected RowManager newRowManager()
- Description copied from class:
AbstractUpdateManager
- Return a new
RowManager
.
- Specified by:
newRowManager
in class AbstractUpdateManager
newPreparedStatementManager
protected PreparedStatementManager newPreparedStatementManager(JDBCStore store,
Connection conn)
- Description copied from class:
AbstractUpdateManager
- Return a new
PreparedStatementManager
.
- Specified by:
newPreparedStatementManager
in class AbstractUpdateManager
flush
protected Collection flush(RowManager rowMgr,
PreparedStatementManager psMgr,
Collection exceps)
- Description copied from class:
AbstractUpdateManager
- Flush all rows of the given row manager. Add exceptions to
exceps
(which may start as null) using
AbstractUpdateManager.addException(java.util.Collection, java.lang.Exception)
. Return exceps
.
- Specified by:
flush
in class AbstractUpdateManager
flush
protected void flush(Collection rows,
PreparedStatementManager psMgr)
- Flush the given collection of secondary rows.
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.