EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #335 background imageLoading...
Page #335 background image
DB2BaseDataSource class
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.
Table 85. DB2BaseDataSource properties and their data types
Property name
Applicable data
sources Data type
com.ibm.db2.jcc.DB2BaseDataSource.accountingInterval 1 on page 324 String
com.ibm.db2.jcc.DB2BaseDataSource.allowNextOnExhaustedResultSet 1 on page 324, 2
on page 324, 3
on page 324
int
com.ibm.db2.jcc.DB2BaseDataSource.blockingReadConnectionTimeout 1 on page 324, 2
on page 324, 3
on page 324
int
com.ibm.db2.jcc.DB2BaseDataSource.charOutputSize 1 on page 324 short
com.ibm.db2.jcc.DB2BaseDataSource.clientAccountingInformation 1 on page 324, 2
on page 324
String
com.ibm.db2.jcc.DB2BaseDataSource.clientApplicationInformation 1 on page 324, 2
on page 324
String
Chapter 7. JDBC and SQLJ reference information
319
|||

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability