Java on oracle - How does one connect with the JDBC KPRB
Driver? - March 01, 2009 at 15:10 pm by Vidya Sagar
How does one connect with the JDBC KPRB Driver?
The connection to JDBC KPRB driver is obtained by invoking
OracleDriver.defaultConnection () method. Database URL, user name and password
need not be specified. This is because the connection is already established to
a database session.
The following Connection objects establishes the connection to the database.
Connection conn = (new
oracle.jdbc.driver.OracleDriver()).defaultConnection();
|