How does one connect with the JDBC KPRB Driver?

          

Interview questions

How does one connect with the JDBC KPRB Driver?

<<Previous   Next>>
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(); 

<<Previous   Next>>
 



Write your comment - Share Knowledge and Experience


 

 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring