* These are required so that the nested unit of work does not add them to the parent
* clone mapping on commit, causing possible incorrect insertions if they are dereferenced.
*/
protected void discoverAllUnregisteredNewObjects() {
// 2612538 - the default size of IdentityHashtable (32) is appropriate
IdentityHashtable visitedNodes = new IdentityHashtable();
IdentityHashtable newObjects = new IdentityHashtable();
IdentityHashtable existingObjects = new IdentityHashtable();
discoverUnregisteredNewObjects(newObjects, existingObjects, visitedNodes);
setUnregisteredNewObjects(newObjects);
setUnregisteredExistingObjects(existingObjects);