Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is the Relationship between EJB and CORBA architecture?

3868


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

1002


Where is ejb used?

948


can u explain about design patterns like singleton,builder,factory

2332


What is the difference between session and entity beans? When should I use one or the other?

977


What is passivation and activation in ejb?

953


Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?

1106


What is @enableautoconfiguration?

1030


Is microservice stateless?

921


Can more than a single table be mapped in cmp?

1015


What is the procedure for the creation of stateless ejb?

972


What is stateful or stateless?

973


What do you mean by ejbdoclet?

1063


What is mdb?

1061


Define ACID Properties?

1021