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 is the difference between message driven beans and stateless session beans?
What do you mean by ejbdoclet?
What is ejb bean in java?
What’s new in the ejb 2.0 specification?
What are the limitations of using local object?
What do you mean by timer service and where it is used?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
What is the meaning of acid in the connection of transaction management?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
What causes statelessness?
How does the server decide which beans to passivate and activate?
What’s the difference between hibernate and ejb 3?
What is stateless authentication?
Can remove() be a Stateless Session bean?
Explain what is an EJB Context?