This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Challenge ! Hibernate, Spring and the Transactions...
posted 7 years ago
Hello @ all !
I'm facing a problem with Hibernate, Spring and the transactions : "[save|createQuery] is not valid without active transaction". I'm using a datasource configured with Tomcat, and I want to use the AOP for the transaction management :
All things seems to be good in the log :
and if I call an update method on the session, I get an exception :
.. results in ..
Moreover, the transaction that seemed to be opened before just rollbacks !!
Any idea on this "double transaction" ? [ December 30, 2008: Message edited by: Benett Corp ]