JDBC 1,2,3,4의 타입별 드라이버의 동작 방식과 설명이다. 개인적으로는 가능한 JDBC4 타입으로 사용하는 것을 선호한다.
|1||Two||JDBC-ODBC||This driver converts JDBC calls to ODBC calls through JDBC-ODBC Bridge driver which in turn converts to database calls. Client requires ODBC libraries.|
|2||Two|| Native API – Partly –
|This driver converts JDBC calls to database specific native calls. Client requires database specific libraries.|
|3||Three|| JDBC – Net -All Java
|This driver passes calls to proxy server through network protocol which in turn converts to database calls and passes through database specific protocol. Client doesn’t require any driver.|
|4||Two|| Native protocol – All –
|This driver directly calls database. Client doesn’t require any driver.|