Re: Is statement.executeBacth() a transaction?



Lew wrote:
You have to explicitly call either 'commit()' or 'rollback()' to
terminate the transaction.

George <zgg...@xxxxxxxxx> wrote:
So if I have the commint() [sic] as in the above example, do I still need to

It's 'commit()', not 'commint()'.

EXPLICITLY have rollback() in the catch{}, or the library will call
roll back in case of any problems automatically?

Did you read my answer that you quoted?

If you set auto-commit to 'false', nothing happens automatically.
That is the whole point of setting auto-commit to 'false'.

Did you read the tutorial that you cited?

--
Lew
.