Ibm Data Server Driver For Jdbc And Sqlj Properties For Db2 For Z/Os - IBM DB2 Manual

Table of Contents

Advertisement

optimizationProfileToFlush
plugin
pluginName
retryWithAlternativeSecurityMechanism
useTransactionRedirect
IBM Data Server Driver for JDBC and SQLJ properties for DB2
for z/OS
Some of the IBM Data Server Driver for JDBC and SQLJ properties apply only to
DB2 for z/OS servers.
Those properties are:
228
Application Programming Guide and Reference for Java
optimizationProfile applies to DB2 Database for Linux, UNIX, and Windows
servers only.
Specifies the name of an optimization profile that is to be removed from the
optimization profile cache. The data type of this property is String. The default
is null.
The name of a client-side JDBC security plug-in. This property has the Object
type and contains a new instance of the JDBC security plug-in method.
The name of a server-side security plug-in module.
Specifies whether the IBM Data Server Driver for JDBC and SQLJ retries a
connection with an alternative security mechanism if the security mechanism
that is specified by property securityMechanism is not supported by the data
source. The data type of this property is int. Possible values are:
com.ibm.db2.jcc.DB2BaseDataSource.YES (1)
Retry the connection using an alternative security mechanism. The IBM
Data Server Driver for JDBC and SQLJ issues warning code +4222 and
retries the connection with the most secure available security
mechanism.
com.ibm.db2.jcc.DB2BaseDataSource.NO (2) or
com.ibm.db2.jcc.DB2BaseDataSource.NOT_SET (0)
Do not retry the connection using an alternative security mechanism.
retryWithAlternativeSecurityMechanism applies to IBM Data Server Driver for
JDBC and SQLJ type 4 connectivity connections to DB2 Database for Linux,
UNIX, and Windows only.
Specifies whether the DB2 system directs SQL statements to different database
partitions for better performance. The data type of this property is boolean.
The default is false.
This property is applicable only under the following conditions:
v The connection is to a DB2 Database for Linux, UNIX, and Windows server
that uses the Database Partitioning Feature (DPF).
v The partitioning key remains constant throughout a transaction.
If useTransactionRedirect is true, the IBM Data Server Driver for JDBC and
SQLJ sends connection requests to the DPF node that contains the target data
of the first directable statement in the transaction. DB2 Database for Linux,
UNIX, and Windows then directs the SQL statement to different partitions as
needed.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents