mirror of https://github.com/apache/openjpa.git
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:
parent
73d4992a2f
commit
a1ad33d72a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue