JDBC classes

JDBC is an application programming interface (API) included in the Java™ platform that enables Java programs to connect to a wide range of databases.

For more information about JDBC and about IBM® Toolbox for Java support for JDBC, including ongoing improvements, JDBC properties, and unsupported SQL types, see the following page:

JDBC

Supported interfaces

The following table lists the supported JDBC interfaces and the API required to use them:

Supported JDBC interface API required
Blob provides access to binary large objects (BLOBs) JDBC 2.1 core
CallableStatement runs SQL stored procedures JDK 1.1
Clob provides access to character large objects (CLOBs) JDBC 2.1 core
Connection represents a connection to a specific database JDK 1.1
ConnectionPool represents a pool of Connection objects. JDBC 2.0 Optional Package

ConnectionPoolDataSource represents a factory for pooled AS400JDBCPooledConnection objects

JDBC 2.0 Optional Package
DatabaseMetaData provides information about the database as a whole. JDK 1.1
DataSource represents a factory for database connections.

JDBC 2.0 Optional Package

Driver creates the connection and returns information about the driver version. JDK 1.1
ParameterMetaData provides the ability to get information about the types and properties of the parameters in a PreparedStatement object JDBC 3.0 API
PreparedStatement runs compiled SQL statements JDK 1.1
ResultSet provides access to a table of data that is generated by running a SQL query or DatabaseMetaData catalog method JDK 1.1

ResultSetMetaData provides information about a specific ResultSet

JDK 1.1

RowSet is a connected row set that encapsulates a ResultSet

JDBC 2.0 Optional Package
Savepoint provides finer grained control within transactions JDBC 3.0 API
Statement runs SQL statements and obtains the results JDK 1.1

XAConnection is a database connection which participates in global XA transactions

JDBC 2.0 Optional Package
XAResource is resource manager for use in XA transactions JDBC 2.0 Optional Package

Examples

The following examples illustrate ways to use the IBM Toolbox for Java JDBC driver.