Answer Posted / prashant
Class.forNmae first loads the class in current classLoader so as to use that in future. Internally DriverManager gets the reference of the driver by using dynamic laoding (nothing is magical) this is is the reason when you say manager.GetConnection() it returns connection using the loaded driver
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to insert an image or raw data into database?
How are jdbc statements used?
What is ojdbc?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
Why do we use jdbc statements?
What is JDBC RowSet? What are different types of RowSet?
Explain the importance of drivermanager.
What is jndi lookup?
What is jdbc in dbms?
What is ojdbc14 jar?
What is resultset in jdbc with example?
Result set’s index starts with 0 or 1?
Why do we use jdbc in java?
What do you mean by database connection pooling?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.