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

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Aug 13 18:30:41 EDT 2010


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

Steve Ebersole resolved HHH-5426.
---------------------------------

    Resolution: Fixed

> 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.6.0.Beta3, 3.5.5
>
>         Attachments: QueryCacheTest.java
>
>          Time Spent: 5.2h
>  Remaining Estimate: 0h
>
> 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