org.hibernate.engine.transaction.internal.jta.JtaTransaction logs "HHH000426: You should set hibernate.transaction.manager_lookup_class if cache is enabled" warnings even if cache is disabled.
hibernate.cfg.xml config:
<!-- Disable the second-level cache (begin) -->
<property name="hibernate.cache.use_query_cache">false</property>
<property name="hibernate.cache.use_second_level_cache">false</property>
<property name="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
<!-- Disable the second-level cache (end) -->
Additionally, in Hibernate 4 hibernate.transaction.manager_lookup_class parameters is deprecated and hibernate.transaction.jta.platform should be used instead.
What is the root cause of this warning and can we get rid of it?
If you need any additional info, please let me know.
Thx.
|