OPENJPA-1701: Remove warning message from EntityManager.refresh(...) method.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2010-06-24 20:43:19 +00:00
parent f5639bb801
commit a88939693b

View File

@ -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);