IBM DB2 Manual page 236

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
|
|
|
|
|
220
Application Programming Guide and Reference for Java
If the value of fullyMaterializeInputStreams is true, the JDBC driver fully
materialized the streams before sending them to the server.
gssCredential
For a data source that uses Kerberos security, specifies a delegated credential
that is passed from another principal. The data type of this property is
org.ietf.jgss.GSSCredential. Delegated credentials are used in multi-tier
environments, such as when a client connects to WebSphere Application Server,
which, in turn, connects to the data source. You obtain a value for this
property from the client, by invoking the GSSContext.getDelegCred method.
GSSContext is part of the IBM Java Generic Security Service (GSS) API. If you
set this property, you also need to set the Mechanism and
KerberosServerPrincipal properties.
This property is applicable only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
For more information on using Kerberos security with the IBM Data Server
Driver for JDBC and SQLJ, see "Using Kerberos security under the IBM Data
Server Driver for JDBC and SQLJ".
kerberosServerPrincipal
For a data source that uses Kerberos security, specifies the name that is used
for the data source when it is registered with the Kerberos Key Distribution
Center (KDC). The data type of this property is String.
This property is applicable only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
pdqProperties
Specifies properties that control the interaction between the IBM Data Server
Driver for JDBC and SQLJ and the SQL Insight feature of pureQuery.
The data type of this property is String.
Set the pdqProperties property only if you are using the SQL Insight feature of
pureQuery. See the IBM Data Studio Information Center for information about
valid values for pdqProperties.
readOnly
Specifies whether the connection is read-only. The data type of this property is
boolean. The default is false.
resultSetHoldabilityForCatalogQueries
Specifies whether cursors for queries that are executed on behalf of
DatabaseMetaData methods remain open after a commit operation. The data
type of this property is int.
When an application executes DatabaseMetaData methods, the IBM Data Server
Driver for JDBC and SQLJ executes queries against the catalog of the target
data source. By default, the holdability of those cursors is the same as the
holdability of application cursors. To use different holdability for catalog
queries, use the resultSetHoldabilityForCatalogQueries property. Possible
values are:
DB2BaseDataSource.HOLD_CURSORS_OVER_COMMIT (1)
Leave cursors for catalog queries open after a commit operation,
regardless of the resultSetHoldability setting.
DB2BaseDataSource.CLOSE_CURSORS_AT_COMMIT (2)
Close cursors for catalog queries after a commit operation, regardless
of the resultSetHoldability setting.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents