#595 - Refactor - persistence context root type handling

This commit is contained in:
Robin Bygrave committed 2016-03-11 17:34:45 +13:00
1 parent 049bf76cc4
commit cf62ea4c2f
17 files changed
+556 -314

No files matched your search

@@ -239,7 +239,7 @@ public class SqlTreeNodeBean implements SqlTreeNode {
localBean = null;
} else if (!temporalVersions) {
// check the PersistenceContext to see if the bean already exists
contextBean = (EntityBean) persistenceContext.putIfAbsent(id, localBean);
contextBean = (EntityBean) localDesc.contextPutIfAbsent(persistenceContext, id, localBean);
if (contextBean == null) {
// bean just added to the persistenceContext
contextBean = localBean;