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
How many ejb objects are created for a bean?
Name the attributes of javax.ejb.ejb.
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
What is the default transaction attribute for an ejb?
Define ejb Create() and EjbPostCreate()?
What is @resource in java?
Is microservice stateless?
What is the difference between find and select methods in ejb?
Enlist the CallBack methods of Entity Bean.
Enlist the CallBack methods of Session Bean?
How does the server decide which beans to passivate and activate?
How does ejbs work?
What does statelessness mean?
What are stateless functions?
What is ejb and its architecture?