Type 4 driver: With the Type 4 driver, the JDBC API commands are translated directly into DBMS commands of the respective database server and transferred to it via a network protocol. In most cases, the Type 4 driver is to be used.
In general, the following rules will prevent errors:
- For Type 4 drivers, the driver version must at least correspond to the version of the database server.
- For Type 2 drivers, the driver version must correspond exactly to the version of the database client. Please check the JDBC compatibility matrix of the respective database producer to see whether other combinations are possible.