IBM DB2 Manual page 333

Table of Contents

Advertisement

Table 83. Summary of IBM Data Server Driver for JDBC and SQLJ-only interfaces provided by the IBM Data Server
Driver for JDBC and SQLJ
Interface name
DB2Connection
DB2DatabaseMetaData
DB2Diagnosable
DB2PreparedStatement
DB2RowID
DB2Statement
DB2TraceManagerMXBean
DB2SystemMonitor
DB2Xml
| | |
DBBatchUpdateException
|
|
Note: The interface applies to connections to the following data sources:
1.
DB2 for z/OS
2.
DB2 Database for Linux, UNIX, and Windows
3.
IBM Informix Dynamic Server
Table 84. Summary of IBM Data Server Driver for JDBC and SQLJ-only classes provided by the IBM Data Server
Driver for JDBC and SQLJ
Class name
DB2Administrator ( DB2 Database
for Linux, UNIX, and Windows
only)
DB2BaseDataSource
DB2CataloguedDatabase
DB2ClientRerouteServerList
javax.sql.DataSource ds =
new com.ibm.db2.jcc.DB2SimpleDataSource();
((com.ibm.db2.jcc.DB2BaseDataSource) ds).setServerName("sysmvs1.stl.ibm.com");
Table 83 summarizes the IBM Data Server Driver for JDBC and SQLJ-only
interfaces.
Applicable data sources
1, 2, 3
1, 2, 3
1, 2, 3
1, 2, 3
1, 2
1, 2, 3
1, 2, 3
1, 2, 3
1, 2
1, 2, 3
Table 84 summarizes the IBM Data Server Driver for JDBC and SQLJ-only classes.
Applicable data sources
2 on page 318
1 on page 318, 2 on page 318,
3 on page 318
2 on page 318
1 on page 318, 2 on page 318
Purpose
Extends the java.sql.Connection interface.
Extends the java.sql.DatabaseMetaData interface.
Provides a mechanism for getting DB2
diagnostics from a DB2 SQLException.
Extends the com.ibm.db2.jcc.DB2Statement and
java.sql.PreparedStatement interfaces.
Used for declaring Java objects for use with the
ROWID data type.
Extends the java.sql.Statement interface.
Provides the MBean interface for the remote trace
controller.
Used for collecting system monitoring data for a
connection.
Used for updating data in XML columns and
retrieving data from XML columns.
Used for retrieving error information about batch
execution of statements that return automatically
generated keys.
Purpose
Instances of the DB2Administrator class are used
to retrieve DB2CataloguedDatabase objects.
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.
Contains methods that retrieve information about
a local DB2 Database for Linux, UNIX, and
Windows database.
Implements the java.io.Serializable and
javax.naming.Referenceable interfaces.
Chapter 7. JDBC and SQLJ reference information
317

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents