Slide 12.3: A typical JDBC API usage sequence Slide 12.5: Registering the JDBC drivers Home |
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
|
BigInteger
), which provides modular arithmetic, GCD calculation, primality testing, prime generation, bit manipulation, and a few other operations, and
BigDecimal
) suitable for currency calculations and the like.
import oracle.jdbc.*;
import oracle.sql.*;