Joined: Fri Jan 23, 2004 10:28 am Posts: 1
|
I have two clasess with a 1 to many relation.
Every time the object with the collection is loaded, then the collection elements are read from the database ( i have show_sql turned on).
The object is only read from the database after the time to live period have expired.
Both classes uses read-write cache.
I would expect the collection elements not to be read until their time to liva have expired.
Is this the way it is supposed to work?
I am using hibernate 2.1.1 and ehcache 0.7
|
|