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 is hbm xml?

0 Answers  


How to connect multiple database in jdbc?

0 Answers  


What is the meaning of connection?

0 Answers  


What are the ddl statements?

0 Answers  


Write an sql to find all records having all numeric characters in a field ?

0 Answers  


How can you know about drivers and database information ?

0 Answers  


What is the difference between jdbc and odbc?

0 Answers  


How to find number of records in result set?

2 Answers  


What is a statement in java?

0 Answers  


What are the different types of JDBC drivers?

0 Answers  


What is statement and preparedstatement in java?

0 Answers  


is that compulsory to have Primarykey-forignkey for joints (outer inner,equal)

2 Answers   IonIdea,


Categories