this doesn't work for me...
i have to reference to any <cache> tags in my mapping xml, however the hibernate startup says ehcache will be used
what am i doing wrong?
thanks
paul
[1/11/05 11:13:03:688 GMT] 20014a12 SettingsFacto I org.hibernate.cfg.SettingsFactory Automatic session close at end of transaction: disabled
[1/11/05 11:13:03:688 GMT] 20014a12 SettingsFacto I
org.hibernate.cfg.SettingsFactory Cache provider: org.hibernate.cache.EhCacheProvider
[1/11/05 11:13:03:703 GMT] 20014a12 SettingsFacto I
org.hibernate.cfg.SettingsFactory Second-level cache: enabled
[1/11/05 11:13:03:703 GMT] 20014a12 SettingsFacto I org.hibernate.cfg.SettingsFactory Optimize cache for minimal puts: disabled
here's my mapping doc
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping SYSTEM "C:\dev\projects\hibernateeval\dtd\hibernate-mapping-3_0_dtd.dtd">
<hibernate-mapping>
<class name="vo.Risk" schema="turnerp" table="RISK">
<id name="riskId" column="RISK_ID" >
<generator class="sequence">
<param name="sequence">RISK_SEQ</param>
</generator>
</id>
<property name="umr" column="UMR" />
<property name="description" column="DESCRIPTION" />
<property name="version" column="VERSION" />
<property name="createdDate" column="CREATED" />
</class>
</hibernate-mapping>