0
我想设置cacheModel上插入,我不喜欢这样写道:ibatis的 - 不能设置cacheModel
<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>
如果我执行查询,我得到以下异常:
- 发生错误同时将CacheModel设置为语句。
- 声明:SelectAll_Cache
- 发生在cacheModel:SN.cache-select-all中的错误。
问题解决:必须有一个标记和所有标记 –
ion
2010-07-16 14:11:23
如果您找到答案,然后将其作为aswer发布并接受它。 – leonbloy 2010-07-21 16:12:08