Calling em.refresh(...) causes a WARNING message to be logged
-------------------------------------------------------------

                 Key: OPENJPA-1701
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1701
             Project: OpenJPA
          Issue Type: Bug
          Components: jpa
    Affects Versions: 2.1.0
         Environment: A nice 'feature' was added in revision 929744 which 
results in a WARNING being logged [1] every time em.refresh(..) is called. It 
appears that in that revision the default value for cacheRetrieveMode in 
FetchConfiguration was changed from NULL to USE.  

I haven't spent enough time looking at the code yet to figure out if the proper 
solution is to remove the warning, or made the default NULL again.

[1] WARN   [main] openjpa.Runtime - The setting of CacheRetrieveMode.USE is 
ignored and set to BYPASS for refresh operation.
            Reporter: Rick Curtis




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to