IBM DB2 Manual page 225

Table of Contents

Advertisement

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This property has no effect on stored procedure parameters or on LOBs that
are fetched using scrollable cursors. LOB stored procedure parameters are
always fully materialized. LOBs that are fetched using scrollable cursors use
LOB locators if progressive streaming is not in effect.
loginTimeout
The maximum time in seconds to wait for a connection to a data source. After
the number of seconds that are specified by loginTimeout have elapsed, the
driver closes the connection to the data source. The data type of this property
is int. The default is 0. A value of 0 means that the timeout value is the default
system timeout value. This property is not supported for IBM Data Server
Driver for JDBC and SQLJ type 2 connectivity on DB2 for z/OS.
logWriter
The character output stream to which all logging and trace messages for the
DataSource object are printed. The data type of this property is
java.io.PrinterWriter. The default value is null, which means that no logging
or tracing for the DataSource is output.
maxRetriesForClientReroute
During automatic client reroute, limit the number of retries if the primary
connection to the data source fails.
The data type of this property is int.
The IBM Data Server Driver for JDBC and SQLJ uses the
maxRetriesForClientReroute property only if the retryIntervalForClientReroute
property is also set.
If the enableClientAffinitiesList is set to DB2BaseDataSource.NO (2), an attempt
to connect to the primary server and alternate servers counts as one retry. If
enableClientAffinitiesList is set to DB2BaseDataSource.YES (1), each server that
is specified by the clientRerouteAlternateServerName and
clientRerouteAlternatePortNumber values is retried the number of times that is
specified by maxRetriesForClientReroute.
The default value for maxRetriesForClientReroute is 0 if
enableClientAffinitiesList is DB2BaseDataSource.NO (2), or 3 if
enableClientAffinitiesList is DB2BaseDataSource.YES (1).
password
The password to use for establishing connections. The data type of this
property is String. When you use the DataSource interface to establish a
connection, you can override this property value by invoking this form of the
DataSource.getConnection method:
getConnection(user, password);
portNumber
The port number where the DRDA server is listening for requests. The data
type of this property is int.
This property is applicable only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
progressiveStreaming
Specifies whether the JDBC driver uses progressive streaming when
progressive streaming is supported on the data source.
DB2 for z/OS Version 9.1 and later supports progressive streaming for LOBs
and XML objects. DB2 Database for Linux, UNIX, and Windows Version 9.5
and later, and IBM Informix Dynamic Server (IDS) Version 11.50 and later
support progressive streaming for LOBs.
Chapter 7. JDBC and SQLJ reference information
209

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents