<?xml version=
<ehcache>
<diskStore path=
<defaultCache
maxElementsInMemory=
eternal=
timeToIdleSeconds=
timeToLiveSeconds=
overflowToDisk=
/>
<cache name=
eternal=
timeToIdleSeconds=
timeToLiveSeconds=
overflowToDisk=
/>
</ehcache>
建議自定義cache時
(
(
否則繼承AbstractTransactionalDataSourceSpringContextTests做測試時
org
<hibernate
<class name=
table=
<cache usage=
<id name=
<column name=
<generator class=
</id>
<property name=
<property name=
</class>
</hibernate
@Cache(usage = CacheConcurrencyStrategy
From:http://tw.wingwit.com/Article/program/Java/ky/201311/28326.html