摘要:
要引入import org.hibernate.annotations.Cache;在类前面添加:@Cache(usage= CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)可选项有:read-onlyread-writenonstrict-read-writetransactional完整示例:package com.hlcg.main.bean;import org.hibernate.annotations.Cache;import org.hibernate.annotations.CacheConcurrencyStrategy;impor 阅读全文
posted @ 2013-11-26 20:05
无忧之路
阅读(735)
评论(0)
推荐(0)