MySQL provides connectivity for client applications developed in the
Java programming language via a JDBC driver, which is called MySQL
MySQL Connector/J is a JDBC-3.0 “Type 4” driver, which
means that is pure Java, implements version 3.0 of the JDBC
specification, and communicates directly with the MySQL server using
the MySQL protocol.
This document is arranged for a beginning JDBC developer. If you are
already experienced with using JDBC, you might consider starting
with the Section 26.3.2, “Installing Connector/J”.
Although JDBC is useful by itself, we would hope that if you are not
familiar with JDBC that after reading the first few sections of this
manual, that you would avoid using “naked” JDBC for all
but the most trivial problems and consider using one of the popular
persistence frameworks such as
Maps to do the majority of repetitive work and heavier
lifting that is sometimes required with JDBC.
This section is not designed to be a complete JDBC tutorial. If you
need more information about using JDBC you might be interested in
the following online tutorials that are more in-depth than the
information presented here: