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

Reply via email to