Hi,
I was wondering about the cache feature in ibatis, i hope this isnt a
stupid question:

        <cacheModel id="cache.references" type="LRU" readOnly="true"
                serialize="false">
                <flushInterval hours="8" />
                <property name="cache-size" value="100" />
        </cacheModel>

        <select id="selectTest" resultClass="map"
cacheModel="cache.references">
                select * from dual
        </select>

I have a cache setting like above, but if i use log4j to log the query,
it seems that it always query again to database.. is there something
wrong with my config?

Thanks,
Yusuf S.

Reply via email to