This content has been marked as final.
Show 2 replies
-
1. Re: Re: setAutoCommit(false) in <local-tx-datasource>
nagaraj_dv Nov 5, 2005 4:11 AM (in response to nagaraj_dv)I got the solution for this problem, instead of <local-tx-datasource> use <no-tx-datasource>
-
2. Re: setAutoCommit(false) in <local-tx-datasource>
brobertarch Nov 7, 2005 1:09 PM (in response to nagaraj_dv)nagaraj_dv,
Thanks for answering to your own thread, it saved me some time. Please see my conf.
I use :
-Hibernate 3.1RC1,
-Spring 2.1.5,
-JBoss 4.0.3RC3
-JDK1.5
Spring Code using HibernateTemplate ;)session = getSession(); tx = session.beginTransaction(); ... session.save(yourObject) ... tx.commit(); // Close the session it is pooled anyway session.close();