mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
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:
parent
f5639bb801
commit
a88939693b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user