Slide 12.3: A typical JDBC API usage sequence
Slide 12.5: Registering the JDBC drivers
Home

Importing Packages


Regardless of which Oracle JDBC driver you use, include the following import statements at the beginning of your program (java.math only if needed):
 import java.sql.*;
which provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.

 import java.math.*;
The package java.math.* provides classes for performing
Import the following Oracle packages when you want to access the extended functionality provided by the Oracle drivers.
   import oracle.jdbc.*;
   import oracle.sql.*;