openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r959352 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
Date Wed, 30 Jun 2010 15:37:18 GMT
Author: allee8285
Date: Wed Jun 30 15:37:17 2010
New Revision: 959352

URL: http://svn.apache.org/viewvc?rev=959352&view=rev
Log:
OPENJPA-1713 correct the push/pop clean up processing in EntityManagerImpl _plans map.

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java?rev=959352&r1=959351&r2=959352&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
Wed Jun 30 15:37:17 2010
@@ -176,6 +176,7 @@ public class EntityManagerImpl
         assertNotCloseInvoked();
         _broker.lock();
         try {
+            _plans.remove(_broker.getFetchConfiguration());
             _broker.popFetchConfiguration();
         } finally {
             _broker.unlock();



Mime
View raw message