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 check jdbc driver version in websphere?
How to get the Database server details in java program?
What is ojdbc?
Explain how data flows from view to db and reverse
What is the meaning of connection?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
How many locking systems are there in jdbc?
What do you mean by database connection pooling?
What is the execute method in java?
What are the basic exceptions in jdbc?
Is not bound in this context unable to find jdbc spring boot?
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.
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 ?
What is jsp and jdbc?
Give an example for execution of sql statement.