JDBC

The AS/400 Toolbox for Java JDBC (Java Database Connectivity) driver allows Java programs to access AS/400 database files using standard JDBC interfaces. Use these standard JDBC interfaces to issue SQL statements and process results. JDBC is a standard part of Java and is included in JDK 1.1.

Start changeThe AS/400 Toolbox for Java supports JDBC 2.0. If you want to use any of the following JDBC 2.0 enhancements, you also need to use JDK 1.2:

JDBC defines the following Java interfaces:

Examples

Using the JDBC driver to create and populate a table.

Using the JDBC driver to query a table and output its contents.


[ Legal | AS/400 Glossary ]