O'Reilly logo

Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™ by Dan Scott, George Baklarz, Paul C. Zikopoulos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JDBC Imports

Every application that uses the JDBC API needs to include a number of import statements at the beginning of the program. These imports are required for the javac program to resolve JDBC references. The import libraries are listed in the following table. Note that at a minimum, the java.sql.* import is required.

Table 9-1. JDBC Import Statements
ImportDescription
java.sql.*This import is required for the core JDBC API and should be included in every program that uses JDBC.
javax.sql.*This library is required for enterprise server-side support.
java.io.*This library is required for any streaming of BLOB or CLOB objects.
java.math.*This library is required for any BigDecimal support (NUMERIC and DECIMAL columns).
java.text.*This library provides ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required