To use JDBC in the Java application, import the following JDBC packages:
DataHandler.java
class is not already open in the Java Source Editor, in the Application Navigator, expand the View project, Application Sources, and your package (hr) and double-click DataHandler.java.import
statements shown in Example 3-3.Example 3-3 Importing Packages in a Java Application
package hr; import java.sql.Connection; import oracle.jdbc.pool.OracleDataSource;