Oracle 5.0 Reference Manual page 2068

Table of Contents

Advertisement

• 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,
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
5.1
5.0
3.1
3.0
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
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
5.1
5.0
3.1
3.0
If you are building Connector/J from source code using the source distribution (see
"Installing from the Development Source
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.
Connector/J Versions
Driver Type
JDBC version
4
3.0, 4.0
4
3.0
4
3.0
4
3.0
Java RTE required
1.5.x, 1.6.x, 1.7.x
1.3.x, 1.4.x, 1.5.x, 1.6.x
1.2.x, 1.3.x, 1.4.x, 1.5.x, 1.6.x
1.2.x, 1.3.x, 1.4.x, 1.5.x, 1.6.x
Tree"), you must use JDK 1.4.2 or newer to compile the
MySQL Server
version
4.1, 5.0, 5.1, 5.4,
5.5
4.1, 5.0
4.1, 5.0
3.x, 4.1
2048
and
NVARCHAR
NCLOB
Status
Recommended
version
Released version
Obsolete
Obsolete
MySQL Connector/J
JDK required (to build source
code)
1.6.x and 1.5.x
1.4.2, 1.5.x, 1.6.x
1.4.2, 1.5.x, 1.6.x
1.4.2, 1.5.x, 1.6.x
Section 20.3.3.4,
types.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents