Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
[b]Hibernate version:3.2.5[/b]
[b]Mapping documents:
hibernate.cfg.xml:
<hibernate-configuration>
<session-factory>
<property name="connection.datasource">java:comp/env/jdbc/test</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
<property name="hibernate.cache.use_query_cache">true</property>
[/b]
[b]Name and version of the database you are using:pgsql 8.1.3[/b]
Hi, am actually developing a web-based application. my configured the ehcache.xml file and place in in the classpath. (same dir. as my hibernate.cfg.xml). But it seems that my application is not using the 2nd level caching. When viewing the statistic of ehcache.xml (hitcount, nbElements in memory, etc..). Everything is 0. What should I do to make it work. I've also configured all caching tag in my classes, queries, etc..
thank in advance