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
What is new in JDBC 2.0?
Which is better odbc or jdbc?
What are the steps involved in establishing a connection using jdbc in java?
What are different parts of a url?
What are the jdbc statements?
How does jdbc driver work?
What happens if connection is not closed in jdbc?
What is while rs next ())?
What is DML?
Is uri the same as url?
What causes the "No suitable driver" error?
What is resultsetmetadata?
What is jdbc template?
What is JDBC PreparedStatement?
What is connection data?