[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5426) HQL update/delete does not invalidate the query cache

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jul 30 15:17:40 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-5426:
--------------------------------

         Assignee: Steve Ebersole
    Fix Version/s: 3.6.0.Beta3
                   3.5.5

> HQL update/delete does not invalidate the query cache
> -----------------------------------------------------
>
>                 Key: HHH-5426
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5426
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: caching (L2)
>    Affects Versions: 3.5.4
>            Reporter: Emond Papegaaij
>            Assignee: Steve Ebersole
>             Fix For: 3.5.5, 3.6.0.Beta3
>
>         Attachments: QueryCacheTest.java
>
>
> Update/delete queries performed via HQL do not invalidate the query cache. For example, a 'delete from Item' does not invalidate a 'select count(*) from Item' query performed earlier. The attached test case can be added to QueryCacheTest (in the testsuite) to demonstrate the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list