ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Cache no flushing on execute
Date Thu, 27 Nov 2008 02:35:21 GMT
Given the following cache model :

	<cacheModel id="ProductsCache" type="MEMORY">
		<flushInterval minutes="30"/>
               ......
		<flushOnExecute statement="Products.saveOclcNeedsUpdate"/>
		<property name="reference-type" value="WEAK"/>
	</cacheModel>

calling :

	<procedure id="saveOclcNeedsUpdateComment" parameterClass="map">
		{call saveOclcNeedsUpdateComment(#productId#, #comment:VARCHAR#, #user#)}
	</procedure>

will not flush the cache.  we are using namespaces

nathan

Mime
View raw message