Without using of Class.forName(? ?), how do you connect to
db?
Answer Posted / 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 |
Post New Answer View All Answers
Explain creation of statement object with connection method create method with help of an example.
What is a jdbc connection string?
What is metadata in jdbc?
What is jdbc odbc connection?
What is jdbc and its advantages?
How can we retrieve the file in the oracle database?
Why is jdbc needed?
What is difference between odbc and jdbc?
Why would you use setautocommit(false) in jdbc?
Explain the difference between inner and outer join ?
How many ways that we can view a result set?
Does jdbctemplate use prepared statements?
What is executeupdate in java?
Which package is used for jdbc application?
What is a java driver?