discoverAndPersistUnregisteredNewObjects(clonesEnum.next(), false, newObjects, unregisteredExistingObjects, visitedObjects, cascadePersistErrors);
}
// EL Bug 343925 - Throw IllegalStateException with all unregistered objects which
// are not marked with CascadeType.PERSIST after iterating through all mappings.
if (!cascadePersistErrors.isEmpty()) {
throw new IllegalStateException(ExceptionLocalization.buildMessage("new_object_found_during_commit", cascadePersistErrors.toArray()));
}
}
}
/**