Cache.evictQueryRegions() not working

Description

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.

Environment

Hibernate 3.5.6-Final , hibernate-jpa-2.0 , ehcache-1.5.0 , Spring-3.0.4 , MySQL

Activity

Show:
Smallufo Huang
November 17, 2010, 6:13 PM

After upgrading to 3.6.0.Final , the problem is solved.

Assignee

Unassigned

Reporter

Smallufo Huang

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure