steve wrote:
If using JTA, are you certain that the datasource is under JTA control and that that transaction is being committed?
My question is:
How do u ensure that a datasource is under JTA control??
My environment: JBoss 3.2.2RC4 with embedded Tomcat
Note that I'm manually creating the datasource with DBCP, and binding it to JNDI, where Hibernate is picking it up..
My issue is that I wan to use JTA, but when I do a commit on the JTA UserTransaction, the Hibernate data does not get committed (the tran is left open on the database).
Any ideas??
Thanks
Colm