views:

5

answers:

0

I want to set cacheModel on an insert and i do it like this:

<select id="SelectAll_Cache" resultClass="SN" cacheModel="cache-select-all">
    <include refid="GetAll_SN"/>
</select>

<cacheModel id="cache-select-all" implementation="LRU" readOnly="false" serialize="true">
    <flushInterval hours="24"/>
    <property name="size" value="800"/>
</cacheModel>

If i execute the query i get the following exception:

  • The error occurred while Set CacheModel to statement.
  • statement : SelectAll_Cache
  • The error occurred in cacheModel : SN.cache-select-all.