cachemodel是ibatis里面自带的缓存机制,正确的应用能很好提升我们系统的性能。使用方法:在sqlmap的配置文件中加入<cacheModel type="LRU" id="article_cache" readOnly="true" serialize="false"> <flushInterval hours="24"/> <flushOnExecute statement="articleLists.insertArticle"/ Read More
posted @ 2012-02-16 11:32
attitudedecidesall
Views(199)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号