page_title: JDBC driver
section_title: Type 4 driver – Database-Protocol driver/Thin Driver(Pure Java driver)
hierarchical_section_title: JDBC driver / Type 4 driver – Database-Protocol driver/Thin Driver(Pure Java driver)
caption_attribution_description: English: Schematic of JDBC type 4 driver (Native Protocol driver)
context_page_description: A JDBC driver is a software component enabling a Java application to interact with a database. JDBC drivers are analogous to ODBC drivers, ADO.NET data providers, and OLE DB providers.
  To connect with individual databases, JDBC requires drivers for each database. The JDBC driver gives out the connection to the database and implements the protocol for transferring the query and result between client and database.
  JDBC technology drivers fit into one of four categories.
  JDBC-ODBC bridge
  Native-API driver
  Network-Protocol driver
  Database-Protocol driver or thin driver.
context_section_description: The JDBC type 4 driver, also known as the Direct to Database Pure Java Driver, is a database driver implementation that converts JDBC calls directly into a vendor-specific database protocol.
  Written completely in Java, type 4 drivers are thus platform independent. They install inside the Java Virtual Machine of the client. This provides better performance than the type 1 and type 2 drivers as it does not have the overhead of conversion of calls into ODBC or database API calls. Unlike the type 3 drivers, it does not need associated software to work.
  As the database protocol is vendor specific, the JDBC client requires separate drivers, usually vendor supplied, to connect to different types of databases.
caption: Schematic of the Native-Protocol driver
exif: {}