ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zaahir Laher <mynbst...@gmail.com>
Subject Problem with flushDataCache()
Date Wed, 18 Nov 2009 13:49:01 GMT
Hi

I am using Ibatis 2.3 with Oracle 9i and Weblogic 8.5.

My cache model is as follows:

    <cacheModel id="myCache" type="MEMORY">
        <flushInterval hours="12" />
        <property name="reference-type" value="SOFT" />
    </cacheModel>

After changing a value in my DB table I call:

sqlMap.flushDataCache("sqlMap.myCache");

but when I refresh my jsp the old (cached value) is still displayed.

Am I doing something wrong here?

Thanks,
Zaahir

Mime
View raw message