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 Relationship between EJB and CORBA architecture?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
Where is ejb used?
can u explain about design patterns like singleton,builder,factory
What is the difference between session and entity beans? When should I use one or the other?
What is passivation and activation in ejb?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?
What is @enableautoconfiguration?
Is microservice stateless?
Can more than a single table be mapped in cmp?
What is the procedure for the creation of stateless ejb?
What is stateful or stateless?
What do you mean by ejbdoclet?
What is mdb?
Define ACID Properties?