ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Voorhoeve, Niels {PBG}" <niels.voorho...@pepsi.com>
Subject RE: Does Read/Write cache work?
Date Wed, 07 Dec 2005 15:26:23 GMT
There is a problem with the cache in the 2.1.5 release.  It does not
properly cache null objects.  Maybe that is the reason for your problem.
The version in SVN works for me, so maybe it will solve this issue for
you.

-----Original Message-----
From: Zsolt [mailto:zkoppanylist@intland.com] On Behalf Of
zkoppanylist@intland.com
Sent: Wednesday, December 07, 2005 7:57 AM
To: user-java@ibatis.apache.org
Subject: Does Read/Write cache work?

Hi,

If I use an LRU cache readOnly="true" I see in the log that ibatis
doesn't
access the database if the data is already available but id I use
readOnly="false" I do see prepared statements.

Do I miss something?

<cacheModel id="item-cache" type="LRU" readOnly="false">

I'm using ibatis-2.1.5.582.

Zsolt


Mime
View raw message