[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5738) Cache.evictQueryRegions() not working

Smallufo Huang (JIRA) noreply at atlassian.com
Wed Nov 17 03:15:13 EST 2010


Cache.evictQueryRegions() not working
-------------------------------------

                 Key: HHH-5738
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5738
             Project: Hibernate Core
          Issue Type: Bug
          Components: caching (L2), core
    Affects Versions: 3.5.6
         Environment: Hibernate 3.5.6-Final , hibernate-jpa-2.0 , ehcache-1.5.0 , Spring-3.0.4 , MySQL
            Reporter: Smallufo Huang


I found cache.evictQueryRegions() not work at all , all data in cache regions remains unchanged.

I have to manually give each query cache a name (cache region) , and specify which cache region to evict by cache.evictQueryRegion("foobar") , so that hibernate will reload the data.


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