mirror of https://github.com/apache/openjpa.git
OPENJPA-706 Changes for supporting DB generated version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8fc909c19c
commit
15f6ece819
|
@ -344,11 +344,16 @@ public class ConstraintUpdateManager
|
|||
|
||||
// flush delete updates to null fks, then all rows in order, then
|
||||
// the insert updates to set circular fk values
|
||||
flush(deleteUpdates, psMgr);
|
||||
Collection nodes = dfa.getSortedNodes();
|
||||
flush(deleteUpdates, nodes, psMgr);
|
||||
flush(insertUpdates, psMgr);
|
||||
}
|
||||
|
||||
protected void flush(Collection deleteUpdates, Collection nodes,
|
||||
PreparedStatementManager psMgr) {
|
||||
flush(deleteUpdates, psMgr);
|
||||
for (Iterator itr = nodes.iterator(); itr.hasNext();)
|
||||
psMgr.flush((RowImpl) itr.next());
|
||||
flush(insertUpdates, psMgr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -237,6 +237,7 @@ public class DBDictionary
|
|||
public boolean supportsModOperator = false;
|
||||
public boolean supportsXMLColumn = false;
|
||||
public boolean reportsSuccessNoInfoOnBatchUpdates = false;
|
||||
public boolean supportsSelectFromFinalTable = false;
|
||||
|
||||
/**
|
||||
* Some Databases append whitespace after the schema name
|
||||
|
|
Loading…
Reference in New Issue