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

Give a way to check that all result sets have bin accessed and update counts are generated by execute method.

0 Answers  


What is PreparedStatement?

6 Answers   Infogain, Wipro,


How to move the cursor in scrollable resultset ?

0 Answers  


How to insert an image or raw data into database?

0 Answers  


What is data source in java?

0 Answers  






What is the query used to display all tables names in SQL Server (Query analyzer)?

0 Answers  


What are JDBC statements?

2 Answers  


What is the feature of jdbc v4?

0 Answers  


What are the 4 types of jdbc drivers?

0 Answers  


What is jdbc connection interface?

0 Answers  


What are the advantages of database connection pooling?

0 Answers  


How do I find jdbc version?

0 Answers  


Categories