The JDBC API is in the package java.sql. |
The classes include a DriverManager that keeps track of available database drivers. Download the driver you want and use it to connect to the database server. |
Class.forName("oracle.jdbc.driver.OracleDriver"); conn = DriverManager.getConnection ("jdbc:oracle:thin:@carver.npac.syr.edu:1521:europe", "dbusername", "dbpassword"); |