태그 보관물: jdbc type

JDBC Type 별 내용

JDBC 1,2,3,4의 타입별 드라이버의 동작 방식과 설명이다. 개인적으로는 가능한 JDBC4 타입으로 사용하는 것을 선호한다.

 Type

 Tier  Driver mechanism  Description
 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 –
Java driver
 This driver converts JDBC calls to database specific native calls. Client requires database specific libraries.
 3  Three  JDBC – Net -All Java
driver
 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 –
Java driver
 This driver directly calls database. Client doesn’t require any driver.

* Reference
– http://www.precisejava.com/javaperf/j2ee/JDBC.htm#JDBC102