Hi all,
I am quite new to ehcache, so excuse me if my question sounds stupid.
I am using ehcache1.1 with hibernate2.x. I am having caching problems when using 2L cache.
Say I have a Department object which has a set of Employees. Assume the Department object has been cached. My problem is the following:
When I add a new Employee, the Department Cache (namely, its employees collection) is NOT refreshed (although the employee is really added in the database).
I have tried the evict() method, but it has not worked as expected.
Any suggestions would be greatly appreciated.
Regards
Chris
|