openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpalache <>
Subject Disabling QueryCaching at runtime does not work
Date Mon, 30 Mar 2009 17:42:19 GMT

An application has a configuration that allows query caching, but is making runtime calls
to inform a fetch plan to disable query caching.

The bug is that this dynamic no-caching request is being ignored by the query cache executor,
which then caches the query regardless.

Tried to disable query cache using

and also


None of the above worked.

Please donwload the test case  from: 

To replicate the problem:

1) Modify build.xml to reflect your environment. ( e.g: patch where the libraries for openJPA
exist )
2) "ant"
3) "ant test"

I tried it on openjpa 2.0.0

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message