阅读背景:

hibernate缓存并发策略CacheConcurrencyStrategy

来源:互联网 

首先你可能应用@Cache对缓存处置,该注解有三个属性

@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
public @interface Cache {
	/** concurrency strategy chosen */
	CacheConcurrencyStrategy usage();
	/** cache region name */
	String region() default "";
	/**
	 * whether or not lazy-properties are included in the second level cache
	 * default all, other value: non-lazy
	 */
	String include() default "all";
}@Target({TYPE, METHOD,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: