This content has been marked as final.
Show 1 reply
-
1. Re: Conflict between seam and JTATransactionFactor in persistence.xml ?
rodrigo.uchoa Dec 3, 2012 8:09 AM (in response to taccart.thierry.accart.name)I'm having the same issue...
I have a need in my applcation to change the timeout value of a transaction programmatically. In order to do that, I had to set the property hibernate.transaction.factory_class to
to org.hibernate.transaction.JTATransactionFactory otherwise calls to session.getTransaction() would throw an exception.
Everything seems to be working perfectly, except that I keep getting a warning:
[AbstractEntityManagerImpl] Cannot join transaction: do not override hibernate.transaction.factory_class
So I'm wondering the same thing. Is it a problem to configure a "factory_class" while also using "seam managed transactions" ?