Connector/J Versions
2048
• Connector/J 5.1 is the Type 4 pure Java JDBC driver, which conforms to the JDBC 3.0 and JDBC
4.0 specifications. It provides compatibility with all the functionality of MySQL, including 4.1, 5.0,
5.1, 5.4 and 5.5. Connector/J 5.1 provides ease of development features, including auto-registration
with the Driver Manager, standardized validity checks, categorized SQLExceptions, support for the
JDBC-4.0 XML processing, per connection client information,
NCHAR
,
NVARCHAR
and
NCLOB
types.
This release also includes all bug fixes up to and including Connector/J 5.0.6.
• Connector/J 5.0 provides support for all the functionality offered by Connector/J 3.1 and includes
distributed transaction (XA) support.
• Connector/J 3.1 was designed for connectivity to MySQL 4.1 and MySQL 5.0 servers and provides
support for all the functionality in MySQL 5.0 except distributed transaction (XA) support.
• Connector/J 3.0 provides core functionality and was designed for connectivity to MySQL 3.x or
MySQL 4.1 servers, although it provides basic compatibility with later versions of MySQL. Connector/
J 3.0 does not support server-side prepared statements, and does not support any of the features in
versions of MySQL later than 4.1.
The following table summarizes the Connector/J versions available, along with the details of JDBC
driver type, what version of the JDBC API it supports, what versions of MySQL Server it works with,
and whether it is currently supported or not:
Table 20.22. Summary of Connector/J Versions
Connector/J
version
Driver Type
JDBC version
MySQL Server
version
Status
5.1
4
3.0, 4.0
4.1, 5.0, 5.1, 5.4,
5.5
Recommended
version
5.0
4
3.0
4.1, 5.0
Released version
3.1
4
3.0
4.1, 5.0
Obsolete
3.0
4
3.0
3.x, 4.1
Obsolete
The current recommended version for Connector/J is 5.1. This guide covers all four connector versions,
with specific notes given where a setting applies to a specific option.
20.3.2.1. Connector/J Release Notes and Change History
For details of new features and bug fixes in each Connector/J release, see the
MySQL Connector/J
Release Notes
.
20.3.2.2. Java Versions Supported
The following table summarizes what version of Java RTE is required to use Connector/J with Java
applications, and what version of JDK is required to build Connector/J source code:
Table 20.23. Summary of Java Versions Required by Connector/J
Connector/J version
Java RTE required
JDK required (to build source
code)
5.1
1.5.x, 1.6.x, 1.7.x
1.6.x and 1.5.x
5.0
1.3.x, 1.4.x, 1.5.x, 1.6.x
1.4.2, 1.5.x, 1.6.x
3.1
1.2.x, 1.3.x, 1.4.x, 1.5.x, 1.6.x
1.4.2, 1.5.x, 1.6.x
3.0
1.2.x, 1.3.x, 1.4.x, 1.5.x, 1.6.x
1.4.2, 1.5.x, 1.6.x
If you are building Connector/J from source code using the source distribution (see
Section 20.3.3.4,
“Installing from the Development Source Tree”
), you must use JDK 1.4.2 or newer to compile the
Connector package. For Connector/J 5.1, you must have both JDK-1.6.x and JDK-1.5.x installed to be
able to build the source code.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...