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
What do you mean by ejb?
what is the Relationship between EJB and CORBA architecture?
What does statelessness mean?
Is having static initializer blocks legal in ejb?
How can one EJB be called from within another EJB?
What is message-driven bean?
Explain transaction and various methods to manage it?
What is jar, war, and ear?
What is ejb in java with example?
What is applicationscoped?
What is the procedure of ejb container to handle exceptions?
What is mdb?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
How many types of session beans are available in ejb?
Enlist the changes in EJB 2.1 ?