IBM DB2 Manual page 247

Table of Contents

Advertisement

,
collection-ID.*
|
|
Specify this property if you do not bind plans for your SQLJ programs or for
the JDBC driver. If you specify this property, do not specify planName.
Recommendation: Use pkList instead of planName.
The format of the package list is:
pkList overrides the value of the db2.jcc.pkList configuration property. If
pkList, planName, and db2.jcc.pkList are not specified, the value of pkList is
NULLID.*.
planName
Specifies a DB2 plan name that is used for the underlying RRSAF CREATE
THREAD call when a JDBC or SQLJ connection to a data source is established.
planName applies only to IBM Data Server Driver for JDBC and SQLJ type 2
connectivity on DB2 for z/OS.
Specify this property if you bind plans for your SQLJ programs and for the
JDBC driver packages. If you specify this property, do not specify pkList.
planName overrides the value of the db2.jcc.planName configuration property.
If pkList, planName, and db2.jcc.planName are not specified, NULLID.* is
used as the package list for the underlying CREATE THREAD call.
queryCloseImplicit
Specifies whether cursors are closed immediately after all rows are fetched.
queryCloseImplicit applies only to IBM Data Server Driver for JDBC and SQLJ
type 4 connectivity to DB2 for z/OS database servers. Possible values are
DB2BaseDataSource.QUERY_CLOSE_IMPLICIT_YES (1) and
DB2BaseDataSource.QUERY_CLOSE_IMPLICIT_NO (2). The default is
DB2BaseDataSource.QUERY_CLOSE_IMPLICIT_YES.
A value of DB2BaseDataSource.QUERY_CLOSE_IMPLICIT_YES can provide better
performance because this setting results in less network traffic.
reportLongTypes
Specifies whether DatabaseMetaData methods report LONG VARCHAR and
LONG VARGRAPHIC column data types as long data types. The data type of
this property is short. Possible values are:
com.ibm.db2.jcc.DB2BaseDataSource.NO (2) or
com.ibm.db2.jcc.DB2BaseDataSource.NOT_SET (0)
Specifies that DatabaseMetaData methods that return information about
a LONG VARCHAR or LONG VARGRAPHIC column return
java.sql.Types.VARCHAR in the DATA_TYPE column and VARCHAR
or VARGRAPHIC in the TYPE_NAME column of the result set. This is
the default for DB2 for z/OS Version 9 or later.
com.ibm.db2.jcc.DB2BaseDataSource.YES (1)
Specifies that DatabaseMetaData methods that return information about
a LONG VARCHAR or LONG VARGRAPHIC column return
java.sql.Types.LONGVARCHAR in the DATA_TYPE column and
LONG VARCHAR or LONG VARGRAPHIC in the TYPE_NAME
column of the result set.
sendCharInputsUTF8
Specifies whether the IBM Data Server Driver for JDBC and SQLJ converts
Chapter 7. JDBC and SQLJ reference information
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents