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

Emond Papegaaij (JIRA) noreply at atlassian.com
Fri Jul 30 03:05:38 EDT 2010


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