Hi,
I have the following situation: Im using factory
level caching to cache all my object instances since
most of the time users will be only reading the
information. Every once in a while though, information
will be edited. Editing is a stepwise process which
at the end of the steps will have to be comitted (by
the user!) or not. I am wondering: If the process
changes the contents of an object in memory, I assume
it will be changed in the cache and so all browsing
users will see this information? What is the right way
to do this with Hibernate? I assume some kind of
locking, but I am not sure how this works with the cache.
maybe somebody can shed some light on this
issue.
thanx
Joost
"A good developer knows development is more than
programming.
A great developer knows development is more than development." -- Scott
Ambler
|