Issue Type: Bug Bug
Affects Versions: 4.2.2
Assignee: Unassigned
Components: core
Created: 01/Jul/13 3:39 AM
Description:

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.

Environment: Oracle 11g,CentOs 6.4, java1.7, Bitronix TM 2.1.3
Project: Hibernate ORM
Priority: Minor Minor
Reporter: Mario Hercog
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira