ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin" <clinton.be...@gmail.com>
Subject Re: using java SortedSet instead of List for the resultMap
Date Thu, 04 Sep 2008 22:26:38 GMT
Yes, 1 array = 1 object in the cache when using queryForList, as does 1
instance if you were to load one object with queryForObject.

Think of size as "how many queries to cache", rather than how many objects.

Clinton

On Thu, Sep 4, 2008 at 3:56 PM, zeppelin <shantanu.u@gmail.com> wrote:

>
> Right, web tier caching would be best. I just wanted to know if my
> understanding of the 'size' attribute was correct. Is it ?
> --
> View this message in context:
> http://www.nabble.com/using-java-SortedSet-instead-of-List-for-the-resultMap-tp19310126p19320827.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message