Before you use OceanBase Connector/J, add import statements at the beginning of the application to import the corresponding packages.
The following table describes the import statements.
| Import statement | Description |
|---|---|
import java.sql.*; |
Provides the standard Java Database Connectivity (JDBC) API. |
import java.math.*; |
Optional. Provides the BigDecimal and BigInteger classes. If these classes are not required in your application, you can ignore this package. |