This content has been marked as final.
Show 2 replies
-
1. Re: Hibernate 4.0.1 second level cache not enabled
ohmygod Jul 4, 2012 12:17 AM (in response to ohmygod)More information to this problem. The exception is thrown when using JBPM's hibernate configuration file (I call it hibernate-jbpm.cfg.xml) where there is no cache configuration. But when I added
<property name="hibernate.cache.use_second_level_cache">true</property> <property name="hibernate.cache.use_query_cache">true</property>
it is still not working.
Any thoughts?
-
2. Re: Hibernate 4.0.1 second level cache not enabled
ctomc Jul 4, 2012 8:15 AM (in response to ohmygod)Hi,
hibernate 4 is JPA2 implementation, and since JPA2 has now standardized how caching works you need to pass him standard configuration options.
take a look at documentation to find out what exacly are they
--
tomaz