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
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
What is the jdbc rowset?
What is resultsetmetadata?
Name different methods for getting streams.
What are the common JDBC problems that you got and how do you solved them?
What do you mean by batch processing in jdbc?
Is jdbc open source?
What is the meaning of “dirty read” in the database?
What are jdbc and its components?
What do you understand by jdbc driver and explain its types?
What is jdbc oracle thin?
What are the three parts of a jdbc url?
How can we set null value in jdbc preparedstatement?
What is the reason why we need a jdbcrowset like the wrapper around resultset?