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
Name the acid properties of a transaction.
What is activemq used for?
What do you mean by timer service and where it is used?
Why is ejb needed?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?
Define Context?
Is it possible to have threading in ejb?
Name the attributes of javax.ejb.ejb.
What is bean in ejb?
What is remote interface in ejb?
What is ejb bean in java?
What are the limitations of using local object?
What are the various types of entrepreneur java bean?
How to find ejb version in websphere?
What is ejb role in j2ee?