Behavior and Performance Settings for JDBC - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software

When using the Aster Database JDBC driver, you make most behavior and performance settings in your SQL code using the SET command.

You can also use a number of standard JDBC driver methods for setting behavior and performance options, such as setAutoCommit() and setPrepareThreshold().

The scope of these variables are limited to the scope of the transaction. After the commit() call, the transaction variables revert to their original values. In order to limit the transaction variables to a particular query, the variables need to be saved prior to being set and once the query is executed the variables must be set back to their original values.