Hide
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.
Show
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.