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...


Without using of Class.forName(? ?), how do you connect to
db?

Answers were Sorted based on User's Feedback



Without using of Class.forName(? ?), how do you connect to db?..

Answer / niranjanravi

through DriverManager.RegisterDriver

Is This Answer Correct ?    10 Yes 1 No

Without using of Class.forName(? ?), how do you connect to db?..

Answer / kalyan

by using datasource object, generally datasource is
confiured at app server specifying jndi name , data source
name, driver name, user name, and password.

by getting datasource object using jndi lookup, we can get
connection.

Is This Answer Correct ?    3 Yes 1 No

Without using of Class.forName(? ?), how do you connect to db?..

Answer / parida

To Niranjanravi
can u give me an example of that?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

What are the differences between execute, executequery, and executeupdate?

0 Answers  


What is drivermanager in java?

0 Answers  


What is namedparameterjdbctemplate?

0 Answers  


What do you mean by odbc?

0 Answers  


What is the purpose of the jdbc resultset interface?

0 Answers  


How can we set null value in jdbc preparedstatement?

0 Answers  


how to prevent finally block from execution

4 Answers   Bosch,


How can I get or redirect the log used by DriverManager and JDBC drivers?

0 Answers  


How can you use preparedstatement in jdbc?

0 Answers  


What is JDBC and ODBC and what are the differences between them?

11 Answers   Idbi Bank, Infosys, Infoview, TCS,


What type of driver you use in real-time projects?

3 Answers  


What is database deadlock ?

0 Answers  


Categories