[Joafip-svn] SF.net SVN: joafip:[2946] trunk/joafip/src/main/java/net/sf/joafip/store/ entity/obje
Brought to you by:
luc_peuvrier
|
From: <luc...@us...> - 2011-10-28 03:17:06
|
Revision: 2946
http://joafip.svn.sourceforge.net/joafip/?rev=2946&view=rev
Author: luc_peuvrier
Date: 2011-10-28 03:17:00 +0000 (Fri, 28 Oct 2011)
Log Message:
-----------
do not unload if object acceded (running in it)
Modified Paths:
--------------
trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectAndPersistInfo.java
Modified: trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectAndPersistInfo.java
===================================================================
--- trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectAndPersistInfo.java 2011-10-28 03:15:36 UTC (rev 2945)
+++ trunk/joafip/src/main/java/net/sf/joafip/store/entity/objectio/ObjectAndPersistInfo.java 2011-10-28 03:17:00 UTC (rev 2946)
@@ -551,7 +551,7 @@
public void unloadAfterSave() throws ObjectIOException,
ObjectIOInvalidClassException {
- if (proxyIntanceOrEnhanced) {
+ if (proxyIntanceOrEnhanced && !acceded) {
assert assertProxyCallBack(proxyCallBack);
proxyCallBack.unload$JOAFIP$();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|