Common Ibm Data Server Driver For Jdbc And Sqlj Properties For Db2 Servers - IBM DB2 Manual

Table of Contents

Advertisement

0 or negative integer
Disables internal statement caching for the PooledConnection. 0 is the
default.
maxStatements controls the internal statement cache that is associated with a
PooledConnection only when the PooledConnection object is created.
maxStatements has no effect on caching in an already existing
PooledConnection object.
maxStatements applies only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity.
Common IBM Data Server Driver for JDBC and SQLJ
properties for DB2 servers
Some of the IBM Data Server Driver for JDBC and SQLJ properties apply to DB2
for z/OS and DB2 Database for Linux, UNIX, and Windows only.
Unless otherwise noted, all properties are in com.ibm.db2.jcc.DB2BaseDataSource.
Those properties are:
clientAccountingInformation
Specifies accounting information for the current client for the connection. This
information is for client accounting purposes. This value can change during a
connection. The data type of this property is String. For a DB2 for z/OS server,
the maximum length is 255 bytes. A Java empty string ("") is valid for this
value, but a Java null value is not valid.
This property applies only to IBM Data Server Driver for JDBC and SQLJ type
2 connectivity on DB2 for z/OS.
clientApplicationInformation
Specifies the application or transaction name of the end user's application. You
can use this property to provide the identity of the client end user for
accounting and monitoring purposes. This value can change during a
connection. The data type of this property is String. For a DB2 for z/OS server,
the maximum length is 32 bytes. A Java empty string ("") is valid for this
value, but a Java null value is not valid.
This property applies only to IBM Data Server Driver for JDBC and SQLJ type
2 connectivity on DB2 for z/OS.
clientDebugInfo
Specifies a value for the CLIENT DEBUGINFO connection attribute, to notify
the DB2 for z/OS server that stored procedures and user-defined functions that
are using the connection are running in debug mode. CLIENT DEBUGINFO is
used by the DB2 Unified Debugger. The data type of this property is String.
The maximum length is 254 bytes.
This property applies only to IBM Data Server Driver for JDBC and SQLJ type
4 connectivity.
clientProgramId
Specifies a value for the client program ID that can be used to identify the end
user. The data type of this property is String, and the length is 80 bytes. If the
program ID value is less than 80 bytes, the value must be padded with blanks.
clientProgramName
Specifies an application ID that is fixed for the duration of a physical
connection for a client. The value of this property becomes the correlation ID
Chapter 7. JDBC and SQLJ reference information
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents