|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.jdbc.kernel.AbstractUpdateManager
public abstract class AbstractUpdateManager
Base update manager with common functionality.
Field Summary | |
---|---|
protected JDBCConfiguration |
conf
|
protected DBDictionary |
dict
|
Constructor Summary | |
---|---|
AbstractUpdateManager()
|
Method Summary | |
---|---|
protected java.util.Collection |
addException(java.util.Collection exceps,
java.lang.Exception err)
Add the given exception to the given list, which may start out as null. |
void |
endConfiguration()
|
java.util.Collection |
flush(java.util.Collection states,
JDBCStore store)
Flush the given instances to the data store. |
protected abstract java.util.Collection |
flush(RowManager rowMgr,
PreparedStatementManager psMgr,
java.util.Collection exceps)
Flush all rows of the given row manager. |
protected abstract PreparedStatementManager |
newPreparedStatementManager(JDBCStore store,
java.sql.Connection conn)
Return a new PreparedStatementManager . |
protected abstract RowManager |
newRowManager()
Return a new RowManager . |
void |
setConfiguration(org.apache.openjpa.lib.conf.Configuration conf)
|
void |
startConfiguration()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.openjpa.jdbc.kernel.UpdateManager |
---|
orderDirty |
Field Detail |
---|
protected JDBCConfiguration conf
protected DBDictionary dict
Constructor Detail |
---|
public AbstractUpdateManager()
Method Detail |
---|
public void setConfiguration(org.apache.openjpa.lib.conf.Configuration conf)
setConfiguration
in interface org.apache.openjpa.lib.conf.Configurable
public void startConfiguration()
startConfiguration
in interface org.apache.openjpa.lib.conf.Configurable
public void endConfiguration()
endConfiguration
in interface org.apache.openjpa.lib.conf.Configurable
public java.util.Collection flush(java.util.Collection states, JDBCStore store)
UpdateManager
flush
in interface UpdateManager
StoreManager.flush(java.util.Collection)
protected abstract RowManager newRowManager()
RowManager
.
protected abstract PreparedStatementManager newPreparedStatementManager(JDBCStore store, java.sql.Connection conn)
PreparedStatementManager
.
protected abstract java.util.Collection flush(RowManager rowMgr, PreparedStatementManager psMgr, java.util.Collection exceps)
exceps
(which may start as null) using
addException(java.util.Collection, java.lang.Exception)
. Return exceps
.
protected java.util.Collection addException(java.util.Collection exceps, java.lang.Exception err)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |