Answer Posted / rajiv
hi......
Class.forName() is basically used to load the diver. forName() is static method thats why its directly call with class name( i:e Class)
which return java.lang.class object. n with the help of that object we establish the connection with database.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a lock in jdbc?
What is DML?
password, is stored in as plain text. What can I do to protect my passwords?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?
When do we get java.sql.SQLException: No suitable driver found?
What are the differences between resultset and rowset?
How are jdbc statements used?
How can I retrieve a String or other object type without creating a new object each time?
Is jdbc a web technology?
Is jdbc a framework?
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
What are the advantages of collection pools?
Is not bound in this context unable to find jdbc spring boot?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?