Db2Basedatasource Class - IBM DB2 Manual

Table of Contents

Advertisement

DB2BaseDataSource class

Table 85. DB2BaseDataSource properties and their data types
Property name
com.ibm.db2.jcc.DB2BaseDataSource.accountingInterval
com.ibm.db2.jcc.DB2BaseDataSource.allowNextOnExhaustedResultSet
com.ibm.db2.jcc.DB2BaseDataSource.blockingReadConnectionTimeout
| | |
com.ibm.db2.jcc.DB2BaseDataSource.charOutputSize
com.ibm.db2.jcc.DB2BaseDataSource.clientAccountingInformation
com.ibm.db2.jcc.DB2BaseDataSource.clientApplicationInformation
The com.ibm.db2.jcc.DB2BaseDataSource class is the abstract data source parent
class for all IBM Data Server Driver for JDBC and SQLJ-specific implementations
of javax.sql.DataSource, javax.sql.ConnectionPoolDataSource, and
javax.sql.XADataSource.
DB2BaseDataSource implements the java.sql.Wrapper interface.
DB2BaseDataSource properties
The following properties are defined only for the IBM Data Server Driver for JDBC
and SQLJ.
You can set all properties on a DataSource or in the url parameter in a
DriverManager.getConnection call.
All properties except the following properties have a setXXX method to set the
value of the property and a getXXX method to retrieve the value:
v minTransportObjects
v maxTransportObjectIdleTime
v maxTransportObjectWaitTime
v dumpPool
v dumpPoolStatisticsOnSchedule
v dumpPoolStatisticsOnScheduleFile
A setXXX method has this form:
void setProperty-name(data-type property-value)
A getXXX method has this form:
data-type getProperty-name()
Property-name is the unqualified property name. For properties that are not specific
to IBM Informix Dynamic Server (IDS), the first character of the property name is
capitalized. For properties that are used only by IDS, all characters of the property
name are capitalized.
The following table lists the IBM Data Server Driver for JDBC and SQLJ properties
and their data types.
Applicable data
sources
1 on page 324
1 on page 324, 2
on page 324, 3
on page 324
1 on page 324, 2
on page 324, 3
on page 324
1 on page 324
1 on page 324, 2
on page 324
1 on page 324, 2
on page 324
Chapter 7. JDBC and SQLJ reference information
Data type
String
int
int
short
String
String
319

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents