You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Uwe Lesta <le...@sbs-softwaresysteme.de> on 2006/03/07 10:45:00 UTC

Problem with Cache with Ibatis DataMepper 1.3

Hello,

After i add a cache model to the following query my tests fail irregularly.

	<select id="ORG.SelectBy_INTERN" parameterClass="int" resultMap="ORGSelectResult" cacheModel="Cache_test" >
		SELECT * FROM ORG WHERE INTERN = #INTERN# ORDER BY NAME
	</select>


	<cacheModels>
		<cacheModel id="Cache_test" implementation="LRU">
			<flushInterval hours="24" />
			<flushOnExecute statement="ORG.Insert" />
			<flushOnExecute statement="ORG.Update" />
			<flushOnExecute statement="ORG.Delete" />
		</cacheModel>
	</cacheModels>


Please help me to get it work.
( .Net web application )

-- 

Kind regards

Uwe
Lesta at SBS-Softwaresysteme.de