Driver manager is a class/interface.

Answers were Sorted based on User's Feedback



Driver manager is a class/interface...

Answer / eswar

The JDBC DriverManager is a clas....It loads the JDBC
driver needed to access a particular data source, locates
and logs on to the database and returns a Connection
object.

Is This Answer Correct ?    27 Yes 1 No

Driver manager is a class/interface...

Answer / 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

Driver manager is a class/interface...

Answer / tamilvanan

DriverManager is a class that present in java.sql package
which is used to connect the our application with database.
that is DriverManager containing getConnection() method
that return Connection object

Is This Answer Correct ?    9 Yes 1 No

Driver manager is a class/interface...

Answer / bvk

in JDBC except DriverManager ang SQLException remaaining
all are interfaces.

Is This Answer Correct ?    9 Yes 5 No

Driver manager is a class/interface...

Answer / panku

DriverManager is a class. By using the static method
(registerDriver) of this class you can register the
different venders JDBC drivers. Also by using getConncetion
method you can connect to the database which is registered,
it returns the object ref of Connection interface.

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More EJB Interview Questions

What is @injectmock?

0 Answers  


How can I call one EJB from inside of another EJB?

2 Answers   CTS,


How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?

1 Answers  


Life cycle methods in stateless Session Beans?

3 Answers   Virtusa,


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

0 Answers  






How to import ejb project in eclipse?

0 Answers  


What is session bean?

0 Answers  


what is an ejb object?

5 Answers   Bally Technologies, HCL, Siemens,


What are the callback annotations for entity bean?

0 Answers  


What is mdb?

0 Answers  


What is session facade in ejb?

0 Answers  


The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?

0 Answers  


Categories