OPENJPA-1545: Make new instance var transient in BrokerImpl.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919491 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2010-03-05 16:54:43 +00:00
parent 73d4992a2f
commit a1ad33d72a
1 changed files with 4 additions and 1 deletions

View File

@ -247,7 +247,7 @@ public class BrokerImpl
private LifecycleEventManager _lifeEventManager = null;
private int _lifeCallbackMode = 0;
private DetachManagerLite _dmLite = new DetachManagerLite();
private transient DetachManagerLite _dmLite = new DetachManagerLite();
private transient boolean _initializeWasInvoked = false;
private transient boolean _fromWriteBehindCallback = false;
@ -3353,6 +3353,9 @@ public class BrokerImpl
if (_transAdditions != null) {
_transAdditions.clear();
}
if (_dmLite == null) {
_dmLite = new DetachManagerLite();
}
_dmLite.detachAll(states);
}
public Object attach(Object obj, boolean copyNew, OpCallbacks call) {