This content has been marked as final.
Show 2 replies
-
1. Re: Approach to copy data from one non-xa datasource to another non-xa datasource
shawkins Jun 1, 2018 9:03 AM (in response to gadeyne.bram)> I've set the SQL Connection in my Java project with setAutoCommit(false)
You need to have autoCommit true. AutoCommit false will start a local transaction.
> als tried adding a "SET AutoCommitTxn false"
You mean from the client correct? It should give you an exception when the value is not as expected. You should use SET AutoCommitTxn OFF, or set the value in your connection string.
-
2. Re: Approach to copy data from one non-xa datasource to another non-xa datasource
gadeyne.bram Jun 1, 2018 9:40 AM (in response to shawkins)Yes, I had SET AutoCommitTxn OFF but leaving conn.setAutoCommit to true solved the problem.
Thanks!