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 a jdbctemplate?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What is an SQL Locator?
What is a jdbc driver and how many jdbc drivers are available?
How can you know about drivers and database information ?
What does jdbc do?
What is jdbc oracle thin?
Differentiate between type_scroll_insensitive and type_scroll_sensitive.
What is the role of the jdbc drivermanager class?
Write an sql to find all records having all upper case alphanumeric characters in a field ?
Name the new features added in jdbc 4.0.
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
Explain how data flows from view to db and reverse
What is jdbc driver manager?