This content has been marked as final.
Show 1 reply
-
1. Re: Exception when rolling back jdbc connection inside manag
vickyk Oct 30, 2008 9:52 AM (in response to dvinod)"dvinod" wrote:
When i try to rollback JDBC connection inside a managed transaction (User Transaction) I am getting
You cannot rollback during a managed transaction!
You seem to be calling rollback() on the java.sql.Connection and not through the UserTransaction object.
If you want to manage the transaction through the jdbc Connection object then configure the datasource of type no-tx-datasoure.
More info can be obtained in JCA specs