Atomikos Forum |
|
Hi,
is it possible to open and close TXs manually with the configured ( Atomikos ) UserTransaction implementation? It seems to me that the Spring/JPA logic gets screwed... I am struggling with code that throws org.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions Looks like this is due to the fact that queries always create a new entitymanger and close it after returning... Thanks |