version numbers is apparently mostly an exercise by MySQL AB to have
all their products with "matching" version numbers. There are some
shiny new bits of extra functionality to justify the new major version
numbers though.
Quoting the release message:
"This is the first generally-available, production release of
Connector/J 5.0. Notice that Connector/J 3.1 has supported all
MySQL-5.0 features other than XA, but this is the first
generally-available release that "synchronizes" version numbers
with the server (as well as adding support for XA).
Version 5.0.3 is suitable for use with any MySQL version including
MySQL-4.1, MySQL-5.0 or MySQL-5.1 beta."
The complete release announcement is at:
http://lists.mysql.com/announce/382
On-line changelog is at:
http://dev.mysql.com/doc/refman/5.0/en/cj-news.html
Upgrade notes:
http://dev.mysql.com/doc/refman/5.0/en/cj-upgrading.html
PR: ports/100931
Submitted by: Matthew Seaman (maintainer)
- Use ${JAVALIBDIR} for JAR dependencies
- Use %%JAVAJARDIR%% in plist
- ECHO_CMD -> ECHO_MSG
- Add $FreeBSD$ tag in patch
- Improve the build.xml patch to have the location of JAR files set through
MAKE_ARGS (should help with people with non-standard paths)
PR: 77916 [1]
Submitted by: maintainer [1]
Approved by: maintainer
Update to version 3.1.6 -- This is a major update to a new code
branch, and development on the 3.0 branch will now be limited to
critical bug-fixes. From the release announcement:
Version 3.1.6 is the first production release of
the 3.1 series that is suitable for use with all
versions of MySQL, including MySQL-4.1 or MySQL-5.0.
Connector/J 3.1.6 is required if you want to use
server-side prepared statements MySQL-4.1.2 or
newer, or CallableStatements with MySQL-5.0.
http://lists.mysql.com/announce/250
Anyone upgrading from the 3.0 series should first read
http://dev.mysql.com/doc/connector/j/en/#id2424819
This update adds both a BUILD_DEPENDS and a RUN_DEPENDS on
devel/log4j (unless you use the WITHOUT_COMPILE option,
where there's only a RUN_DEPENDS)
PR: ports/76149
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Version 3.0.13 is a bugfix release for the production tree that
is suitable for use with any MySQL version including MySQL-4.1 or
MySQL-5.0.
This release is intended to fix three minor bugs, two which
impact users using MysqlConnectionPoolDataSource, and one bug fix
for prepared statements with batched parameters creating all keys
for getGeneratedKeys()."
Full release announcement at http://lists.mysql.com/java/7488.
PR: ports/67265
Submitted by: Matthew Seaman <m.seaman at infracaninophile.co.uk> (maintainer)
'production' instead of 'stable' for no apparent reason. Release
notes are at http://lists.mysql.com/announce/192.
PR: ports/66908
Submitted by: Matthew Seaman <m.seaman at infracaninophile.co.uk> (maintainer)
- Use PLIST_FILES
- Set JAVA_HOME to ant environment
- ECHO -> ECHO_MSG
PR: ports/62472
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)