just out of interest, how do people handle the sharing of object refs
from an ibatis cache?

If I cache a reference to a Product instance and a second user obtains
that reference from the cache, the cache will effectively be tainted by
any transient modification that user makes to the instance. i.e. even if
the user would have no rights to persist those changes.

What do others do - not cache anything other than immutable classes? 
manage caches on a per user basis?  Something else altogether?

Cheers,

-- 
Darren Davison
Public Key: 0xE855B3EA

Attachment: signature.asc
Description: Digital signature

Reply via email to