ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eva Kwan <Eva.K...@huskyenergy.com>
Subject iBATIS read/write non-serialize cache
Date Tue, 13 May 2008 17:02:38 GMT
I have a cache model set up like this:

    <cacheModel id="FindAllCache" implementation="LRU" readOnly="false">
      <flushInterval minutes="5"/>
      <property name="CacheSize" value="2"/>

    <select id="FindAll" extends="Base" resultMap="Result" cacheModel="FindAllCache">

I have turned on iBATIS logging.  When I execute the select statement more than once within
one session, the logs say that there is a cache miss each time.

How do I get a read/write (per session) cache to work?

View raw message