We are getting Hibernate warning "HHH000326: Cannot join transaction: do not override hibernate.transaction.factory_class" when using Springframework in EAP 6.

Solution Verified - Updated -

Issue

When migrating an existing application from EAP5 to EAP6.1, the following warning shows in the server.log

[org.hibernate.ejb.AbstractEntityManagerImpl] (http-/0.0.0.0:443-6) HHH000326: Cannot join transaction: do not override hibernate.transaction.factory_class

The application uses SpringFramework 3 and Hibernate 4.

There's no any code making the explicit call

EntityManager.joinTransaction()

The application doesn't override hibernate.transaction.factory_class anywhere.

Why this warning message is still thrown?

Environment

  • JBoss Enterprise Application Platform(EAP) 6
  • Hibernate 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In