Archives of the TeradataForum
Message Posted: Tue, 26 Feb 2008 @ 15:51:01 GMT
<-- Anonymously Posted: Tue, 26 Feb 2008 07:46 -->
We're starting the development of our first JDBC application and the following question has been raised concerning transaction control.
The JDBC driver documentation says that by default the driver issues a "commit" command after every request. To us that seems to imply that whether the session logs on in either Teradata (BTET) or ANSI transaction mode effectively the same things will happen (in terms of transactions).
Assuming that this default action is not changed, what happens if your SQL includes explicit transaction (BT/ET) commands ? Do they get ignored?
Alternatively, how have other sites handled the requirement to have multiple SQL requests treated as a single transaction when using a JDBC interface?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|