ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Griebel <edgrie...@gmail.com>
Subject Re: cache behaviour
Date Tue, 28 Jun 2005 15:48:14 GMT
I've just started looking at it, but doesn't using the OSCache model
(plugin?) provide finer-grained flushing, based on the key for the
dependant query?

Thanks,
-ed

On 6/28/05, Larry Meadors <larry.meadors@gmail.com> wrote:
> It will cache several objects returned, depending upon the cache
> controller specified. One thing to be aware of is that the cache is
> not aware of object identity - which means that if you update
> *anything* in that cache, all of the objects in the cache are flushed,
> not just the one that was updated.
> 
> Larry
> 
> On 6/28/05, dragos moraru <dmoraru@qcns.co.ro> wrote:
> >
> > HI!
> > I have a SQL select to return only one resutl each time, something like:
> > Select * from product where id=#value#
> >
> > and i want to cache the results. I don't know if the cache-model
> > configuration form ibatis will store every object the query returns or it
> > will replace each time the last object with the new one returned by the
> > select.
> >
> > Thanks
>

Mime
View raw message