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

Where jdbc drivermanager class is used?

0 Answers  


How to set NULL values in JDBC PreparedStatement?

0 Answers  


What is JDBC ResultSet?

0 Answers  


What are the different classes through which JDBC represents statements?

0 Answers  


What is jdbc and explain jdbc architecture?

0 Answers  


How can we move the cursor in a scrollable result set?

0 Answers  


How many types of jdbc drivers are available?

0 Answers  


Does jdbctemplate use prepared statements?

0 Answers  


What is ojdbc?

0 Answers  


What are the steps to connect to a database in java?

0 Answers  


What is the difference between setmaxrows(int) and setfetchsize(int)?

0 Answers  


How do java applications access the database using jdbc?

0 Answers  


Categories