[ 
https://issues.apache.org/jira/browse/OPENJPA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699938#action_12699938
 ] 

David Ezzio edited comment on OPENJPA-1006 at 8/6/09 5:04 PM:
--------------------------------------------------------------

Fix in trunk, rev 765801, and MISIDENTIFIED as fix for OpenJPA-1002.  (The 
misidentification has been corrected.)

      was (Author: dezzio):
    Fix in trunk, rev 765801, and MISIDENTIFIED as fix for OpenJPA-1002.
  
> Disabling QueryCaching at runtime does not work
> -----------------------------------------------
>
>                 Key: OPENJPA-1006
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1006
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: datacache
>    Affects Versions: 1.2.1, 2.0.0-M2
>         Environment: N/A.
> should be replicable on all environments.
> The one I tried is on windows with oracle 10g  as database.
>            Reporter: Ravi P Palacherla
>            Assignee: David Ezzio
>             Fix For: 2.0.0-M2
>
>         Attachments: OPENJPA-1006.patch, openJPATestcase.zip, 
> TestQueryResultSize.java
>
>
> 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 
> OpenJPAEntityManager.getFetchPlan().setQueryResultCache(false);
> and also 
> query.getFetchPlan().setQueryResultCacheEnabled(false);

-- 
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