Driver manager is a class/interface.

Answer Posted / amarajagan

DriverManager is a Class as part of javax.sql.*; package.The
purpose of DriverManager is to register the JDBC Driver and
to get the Connection Object
--->DriverManager.registerDriver(new
Oracle.jdbc.driver.OracleDriver());
--->Connection
con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","scott","tiger");

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the enterprise beans types?

607


What is backing bean?

612


What happens when I change a value in the httpsession from inside an ejb?

530


What is the procedure for the creation of stateless ejb?

546


What are the limitations of using local object?

541






can u explain about design patterns like singleton,builder,factory

1895


What is Enterprise JavaBeans Query Language (EJB QL)?

546


When was ejb developed?

572


What is mdb?

554


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

534


What are the components of ejb?

568


How to create ejb project in eclipse?

535


What is EJB server?

598


What are the different types of ejb?

520


What is the procedure for the presentation of ejb persistence mechanism?

587