Re: caching and obect refs

2008-07-15 Thread Darren Davison
On Fri, Jul 11, 2008 at 07:18:35AM -0600, Larry Meadors wrote: > Make it read-only and serializable. thanks Larry.. I re-read the docs and understand what the serialization is giving me now :) So, given that we have heavy usage of lazy-loading, and result sets that are much more heavily read than

Re: caching and obect refs

2008-07-11 Thread Larry Meadors
Make it read-only and serializable. Larry On Fri, Jul 11, 2008 at 12:40 AM, Darren Davison <[EMAIL PROTECTED]> wrote: > 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

caching and obect refs

2008-07-10 Thread Darren Davison
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