{{theTime}}

Search This Blog

Total Pageviews

JDBC Drivers

Driver Types:
Bridge (Type 1) -- JDBC-ODBC bridge. A mix of java and OS dependent code through ODBC.
Native(Type 2) -- Operating System dependent executables and Java through proprietary vendor code
Network(Type 3) -- Network middleware and Java.  JDBC accesses the database through the middleware
Thin(Type 4) -- Pure Java driver, no dependency on OS.

No comments:

Mysql - java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

Add allowPublicKeyRetrieval=true to the JDBC URL. jdbc:mysql://localhost:3306/db?allowPublicKeyRetrieval=true&useSSL=false