What will Class.forName do while loading drivers?

What will Class.forName do while loading drivers?

- When you have loaded a driver, it is available for making a connection with a DBMS.
- It is used to create an instance of a driver and register it with the DriverManager.
- Before connecting to the database we need to load a driver.
- Whenever the code tries to open a connection we get a no driver available SQLException being thrown.
- It is mostly caused by the driver not being in the class path or the value in the parameter is not correct.
What are the different types of driver?
JDBC Driver Types - JDBC Net pure Java driver(Type IV) is the fastest driver because it converts the jdbc calls to network protocol used by DBMS Server...
What are the standard isolation levels defined by JDBC?
JDBC Isolation Levels - The values are defined in the class java.sql.Connection and are: ...
How do we call stored procedure using JDBC
A stored procedure is invoked by using CallableStatement object. It also requires an open Connection object...
Post your comment