We are receiving warning a hibernate waring when running springframework 3.2.4 and Hibernate 4 on EAP 6.1.
The warning message is: [org.hibernate.ejb.AbstractEntityManagerImpl] (http-/0.0.0.0:443-6) HHH000326: Cannot join transaction: do not override hibernate.transaction.factory_class
The root cause is that springframework makes an explicit call to join transaction.
The issue here is that this warning message doesn't make much sense in its context. The hibernate.transaction.factory_class is not overridden anywhere in the application.
To make it more semantically accurate, do we consider to log the warning message something like "cannot join the transaction as no Tx is active. blah blah"?
|