Hi,
I read somewhere that in order to use JTA and Tomcat (I'm also using Hibernate) you need to use a JTA version of the JDBC driver. Is this true?
If so, does this driver include JTA support?
Thanks,
Ittai
Hi,
I read somewhere that in order to use JTA and Tomcat (I'm also using Hibernate) you need to use a JTA version of the JDBC driver. Is this true?
If so, does this driver include JTA support?
Thanks,
Ittai
Yes, it does. See com.microsoft.sqlserver.jdbc.SQLServerXADataSource. You can also read more on XA transactions with MS SQL here
But having the XA driver is necessary but not sufficient. You have to have a JTA transaction manager as well, and that's not part of JDBC.