ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Caching clarification
Date Mon, 23 Jul 2007 22:07:17 GMT
The loadWidget ID and the two params sent.


On 7/23/07, Collin Peters <cadiolis@gmail.com> wrote:
> Just a clarification on caching needed.  As stated the iBatis caching
> model is different than a traditional ORM caching model in that it
> doesn't cache on any OID.  I am wondering exactly how it does do the
> lookup then?  I am assuming it stores them uniquely based on iBatis
> ID, and then the unique params in the query?
> So if I pass in a VO object to a loadWidget query, and the SQL uses
> two params out of the VO, does it make the cache unique on the
> loadWidget ID and the entire VO?  Or the loadWidget ID and the two
> params sent?
> Regards,
> Collin

View raw message