----- Original Message -----
Sent: Tuesday, September 17, 2002 1:22
PM
Subject: Re: [Hibernate] JCS Read only
cache and the doc
I realize that i completly misunderstood which
kind of cache Hibernate provides.....
At the moment it appears that hibernate provide
either:
Cache for immutable objects ( called read-only
cache )
Cache for mutable objects ( called read-write
cache)
It was a semantic issue, for me a read-only cache
is a cache where you never write update in the cache but flush it when an
object is updated while read-write cache will update also the cache entry for
the object. Both those caches are caching mutable objects....
In your read-write cache scenario, i guess you
are updating the cache isnt it ? ( a true read-write cache for mutable objects
)
Regards
Christian Meunier
----- Original Message -----
Sent: Monday, September 16, 2002 4:50
AM
Subject: [Hibernate] JCS Read only
cache and the doc
Hi, it's me or the documentation is a bit
ambiguous about read only cache ?
"If your application needs to read but never modify instances of a
persistent class, a 'readonly' cache may be used"
When i read this, i understand that my
persistent class need be to read only if i want to be able to use a
read-only cache.
Regards
Christian
Meunier