openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r957709 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
Date Thu, 24 Jun 2010 20:43:19 GMT
Author: curtisr7
Date: Thu Jun 24 20:43:19 2010
New Revision: 957709

URL: http://svn.apache.org/viewvc?rev=957709&view=rev
Log:
OPENJPA-1701: Remove warning message from EntityManager.refresh(...) method.

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=957709&r1=957708&r2=957709&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
Thu Jun 24 20:43:19 2010
@@ -763,10 +763,6 @@ public class EntityManagerImpl
         DataCacheRetrieveMode rmode = getFetchPlan().getCacheRetrieveMode();
         if (DataCacheRetrieveMode.USE.equals(rmode) || rmode == null) {
             getFetchPlan().setCacheRetrieveMode(DataCacheRetrieveMode.BYPASS);
-            if (rmode != null) {
-                Log log = _broker.getConfiguration().getConfigurationLog();
-                log.warn(_loc.get("cache-retrieve-override", Exceptions.toString(entity)));
-            }
         }
         try {
             _broker.refresh(entity, this);



Mime
View raw message