ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gwyn Evans <gwyn.ev...@gmail.com>
Subject Re: Cache object reference
Date Wed, 06 Jun 2007 20:14:24 GMT
On Wednesday, June 6, 2007, 11:59:47 AM, Larry <lmeadors@apache.org> wrote:

> On 6/6/07, Meindert <meindert@pastelebusiness.com> wrote:
>> Is it by design that the object returned from the cache has the same object
>> reference as the on in the cache?

> In your cache definition, you have readonly="true", but are not
> modifying the results. You are a very bad boy. Don't do that. :-)

Don't you mean "but are modifying the results"?   :-)

Anyway, for the OP, Larry's obviously too polite, but "iBATIS in
Action" has a good explanation about this (and a lot else) - See
section 9.3.4 on p200.


View raw message