Driver manager is a class/interface.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / bvk
in JDBC except DriverManager ang SQLException remaaining
all are interfaces.
| Is This Answer Correct ? | 9 Yes | 5 No |
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 |
Explain the important elements of ejb?
What is the relationship between an EJB component, EJB container, and an application server?
what are the classes you used in Beans?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
How to increase ejb transaction timeout in weblogic?
What is an ejb platform?
What is ejb and its types?
Explain the concept of connection pooling feature of ejb container?
Is it legal to have static initializer blocks in ejb?
What is ejb in java with example?
Does spring use ejb?
What are ejb containers?