Use the links below to download a distribution of Apache Derby from one of our mirrors. You should alwaysverify the integrity of distribution files downloaded from a mirror.
+
You are currently using [preferred]. If you encounter a problem with this mirror, then please select another. If all mirrors are failing, there are backup mirrors at the end of the list. See status of mirrors.
+
+
+
There are four different distributions:
+
+
bin distribution - contains the documentation, javadoc, and jar files for Derby.
+
lib distribution - contains only the jar files for Derby.
+
lib-debug distribution - contains jar files for Derby with source line numbers.
+
src distribution - contains the Derby source tree at the point which the binaries were built.
Please note: both plugins must be installed for full functionality. For information on installing and using the Derby plugins for Eclipse, please see the Using the 10 Core and 1.1 UI Derby plug-ins page.
+
+
+
Release Notes for Derby 10.5.2.0
+
+
These notes describe the difference between Derby release 10.5.2.0 and the preceding release 10.5.1.1.
+
+
Derby is a pure Java relational database engine using standard SQL and JDBC as its APIs.
+
Derby functionality includes:
+
+
Embedded engine with JDBC drivers
+
Network Server
+
Network client JDBC drivers
+
Command line tools: ij (SQL scripting), dblook (schema dump) and sysinfo (system info)
+
+
+
New Features
+
This is a bug fix release and also provides localization of new 10.5 messages. No new features were added.
+
+
Bug Fixes
+
The following issues are addressed by Derby release 10.5.2.0. These issues are not addressed in the preceding 10.5.1.1 release.
testBootSameDbDifferentSubSubProtocol(org.apache.derbyTesting.functionTests.tests.memorydb.BasicInMemoryDbTest)java.sql.SQLException: Database 'BSDDSSP' not found.
java.lang.VerifyError causing java.sql.SQLException: Cannot create an instance of generated class ... in lang.GeneratedColumnsTest and GeneratedColumnsPermsTest on IBM iseries
Network Server's failure to rollback local transactions on shutdown can cause hang on startup with message java.net.BindException: Address already in use: NET_Bind in derby.log
'...replication.buffer.LogBufferFullException' causes failover to fail w/ 'XRE07, SQLERRMC: Could not perform operation because the database is not in replication master mode.'
It would be good to add an example to the SYSCS_UTIL.SYSCS_CHECK_TABLE documentation for how to check all tables
+
+
+
+
Issues
+
Compared with the previous release (10.5.1.1), Derby release 10.5.2.0 introduces the following new features and incompatibilities. These merit your special attention.
+
+
+
+
Note for DERBY-4230: In order to see the fix for DERBY-4230 for a view created with a previous release, users must drop and recreate the view.
+
+
+
+
Note for DERBY-3991: Clob.truncate now presents a more specific error message for a negative length.
+
+
+
+
+
Note for DERBY-4230
+
+
Summary of Change
+
In order to see the fix for DERBY-4230 for a view created with a previous release, users must drop and recreate the view.
+
+
Symptoms Seen by Applications Affected by Change
+
DERBY-4230 fixed an issue where an extra column might appear in DatabaseMetaData.getColumns() for a view that uses a group by and an expression in the select list. The problem occurred during create view with the old release. After updating your derby jars to a release that has the fix, if you still see the behavior, you will need to drop and recreate the view to get the fix.
+
+
Incompatibilities with Previous Release
+
none
+
+
Rationale for Change
+
The change was made to fix a regression introduced in version 10.3.1.4 by DERBY-681.
+
+
Application Changes Required
+
Users must drop an recreate affected views to see the fix for DERBY-4230.
+
+
+
Note for DERBY-3991
+
+
Summary of Change
+
+Clob.truncate now presents a more specific error message for a negative length.
+
+
Symptoms Seen by Applications Affected by Change
+
Specifying a negative length will raise an SQLException with a different state;
+
+
Now: XJ071: Negative length argument '-2' passed in a BLOB or CLOB method.
+
+
Before: XJ070: Negative or zero position argument '-2' passed in a Blob or Clob method.
+
+
+
+
+
+
Incompatibilities with Previous Release
+
Applications catching a specific exception based on SQLState may behave differently. The incompatibility can only be seen if the application calls Clob.truncate with a negative length using the embedded driver.
+
+
Rationale for Change
+
The embedded driver was changed to be consistent with the client driver for the error message raised when invoking Clob.truncate with a negative length.
+
+
Application Changes Required
+
Look for SQLState XJ071 instead of XJ070 when Clob.truncate is called to catch invocations specifying a negative length.
+
+
Build Environment
+
Derby release 10.5.2.0 was built using the following environment:
+
+
+Branch - Source code came from the 10.5 branch.
+
+Machine - Microsoft Windows XP Professional Version 2002 Service Pack 2.
+
+Ant - Apache Ant version 1.7.0 compiled on December 13 2006.
+
+JDK 1.4 - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142-20061124 (SR7)
+
+Java 6 - Java(TM) SE Runtime Environment (build pwi3260sr3-20081106_07(SR3)) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20081105_25433
+
+Compiler - The 1.6 compiler was used to compile all classes, but java 1.4.2 classes were used to compile appropriate 1.4.2 support
+
+JSR 169 - J2ME support was built using IBM's j9 jvm from WEME6.1
+
+
+
+
Verifying releases
+
+
It is essential that you verify the integrity of the downloaded files using the PGP and MD5 signatures. MD5 verification ensures the file was not corrupted during the download process. PGP verification ensures that the file came from a certain person.
+
The PGP signatures can be verified using PGP or GPG. First download the Apache Derby KEYS as well as the asc signature file for the particular distribution. It is important that you get these files from the ultimate trusted source - the main ASF distribution site, rather than from a mirror. Then verify the signatures using ...
To verify the MD5 signature on the files, you need to use a program called md5 or md5sum, which is included in many unix distributions. It is also available as part of GNU Textutils. Windows users can get binary md5 programs from here, here, or here.
+
We strongly recommend you verify your downloads with both PGP and MD5.
Please note: both plugins must be installed for full functionality. For information on installing and using
the Derby plugins for Eclipse, please see the Using the 10 Core and 1.1 UI Derby plug-ins page.
Added: db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.cgi
URL: http://svn.apache.org/viewvc/db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.cgi?rev=799768&view=auto
==============================================================================
--- db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.cgi (added)
+++ db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.cgi Fri Jul 31 23:04:15 2009
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Wrapper script around mirrors.cgi script
+# (we must change to that directory in order for python to pick up the
+# python includes correctly)
+# Copied from Stefan's http://www.apache.org/~bodewig/mirror.html
+cd /www/www.apache.org/dyn/mirrors
+/www/www.apache.org/dyn/mirrors/mirrors.cgi $*
Propchange: db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.cgi
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.cgi
------------------------------------------------------------------------------
svn:executable = *
Added: db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.html
URL: http://svn.apache.org/viewvc/db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.html?rev=799768&view=auto
==============================================================================
--- db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.html (added)
+++ db/derby/site/trunk/src/documentation/content/xdocs/releases/release-10.5.2.0.html Fri Jul 31 23:04:15 2009
@@ -0,0 +1,564 @@
+
+
+Apache Derby 10.5.2.0 Release
+
+
+
Distributions
+
Use the links below to download a distribution of Apache Derby from
+ one of our mirrors. You should alwaysverify the integrity
+ of distribution files downloaded from a mirror.
+
+
You are currently using [preferred]. If you encounter a
+problem with this mirror, then please select another. If all
+mirrors are failing, there are backup mirrors at the end of the list.
+See status of mirrors.
+
+
+
+
+
There are four different distributions:
+
+
bin distribution - contains the documentation, javadoc, and jar files for Derby.
+
lib distribution - contains only the jar files for Derby.
+
lib-debug distribution - contains jar files for Derby with source line numbers.
+
src distribution - contains the Derby source tree at the point which the binaries were built.
Please note: both plugins must be installed for full functionality. For information on installing and using
+ the Derby plugins for Eclipse, please see the Using the 10 Core and 1.1 UI Derby plug-ins page.
+
+
+Release Notes for Derby 10.5.2.0
+
+
These notes describe the difference between Derby release 10.5.2.0 and the preceding release 10.5.1.1.
+
+Overview
+
+
+
+Derby is a pure Java relational database engine using standard SQL and JDBC as its APIs.
+
+
+
+
+Derby functionality includes:
+
+
+
+
+
+
Embedded engine with JDBC drivers
+
+
Network Server
+
+
Network client JDBC drivers
+
+
Command line tools: ij (SQL scripting), dblook (schema dump) and sysinfo (system info)
+
+
+
+
+
+New Features
+
+
+
+This is a bug fix release and also provides localization of new 10.5 messages. No new features were added.
+
+
+
+
+Bug Fixes
+
+
The following issues are addressed by Derby release 10.5.2.0. These issues are not addressed in the preceding 10.5.1.1 release.
testBootSameDbDifferentSubSubProtocol(org.apache.derbyTesting.functionTests.tests.memorydb.BasicInMemoryDbTest)java.sql.SQLException: Database 'BSDDSSP' not found.
java.lang.VerifyError causing java.sql.SQLException: Cannot create an instance of generated class ... in lang.GeneratedColumnsTest and GeneratedColumnsPermsTest on IBM iseries
Network Server's failure to rollback local transactions on shutdown can cause hang on startup with message java.net.BindException: Address already in use: NET_Bind in derby.log
'...replication.buffer.LogBufferFullException' causes failover to fail w/ 'XRE07, SQLERRMC: Could not perform operation because the database is not in replication master mode.'
It would be good to add an example to the SYSCS_UTIL.SYSCS_CHECK_TABLE documentation for how to check all tables
+
+
+
+
+Issues
+
+
Compared with the previous release (10.5.1.1), Derby release 10.5.2.0 introduces the following new features and incompatibilities. These merit your special attention.
+ In order to see the fix for DERBY-4230 for a view created with a previous release, users must drop and recreate the view.
+
+
+
+
+
+
+
Symptoms Seen by Applications Affected by Change
+
+
+DERBY-4230 fixed an issue where an extra column might appear in DatabaseMetaData.getColumns() for a view that uses a group by and an expression in the select list. The problem occurred during create view with the old release. After updating your derby jars to a release that has the fix, if you still see the behavior, you will need to drop and recreate the view to get the fix.
+
+
+
+
+
+
+
+
Incompatibilities with Previous Release
+
+
+ none
+
+
+
+
+
+
+
Rationale for Change
+
+
+The change was made to fix a regression introduced in version 10.3.1.4 by DERBY-681.
+
+
+
+
+
+
+
Application Changes Required
+
+
+Users must drop an recreate affected views to see the fix for DERBY-4230.
+
+
+
+
+
+
+
+Note for DERBY-3991
+
+
+
+
+
+
Summary of Change
+
+
+
+Clob.truncate now presents a more specific error message for a negative length.
+
+
+
+
+
+
+
Symptoms Seen by Applications Affected by Change
+
+
+Specifying a negative length will raise an SQLException with a different state;
+
+
Now: XJ071: Negative length argument '-2' passed in a BLOB or CLOB method.
+
+
+
Before: XJ070: Negative or zero position argument '-2' passed in a Blob or Clob method.
+
+
+
+
+
+
+
+
+
+
Incompatibilities with Previous Release
+
+
+Applications catching a specific exception based on SQLState may behave differently. The incompatibility can only be seen if the application calls Clob.truncate with a negative length using the embedded driver.
+
+
+
+
+
+
+
Rationale for Change
+
+
+The embedded driver was changed to be consistent with the client driver for the error message raised when invoking Clob.truncate with a negative length.
+
+
+
+
+
+
+
Application Changes Required
+
+
+Look for SQLState XJ071 instead of XJ070 when Clob.truncate is called to catch invocations specifying a negative length.
+
+
+
+
+
+
+Build Environment
+
+
Derby release 10.5.2.0 was built using the following environment:
+
+
+Branch - Source code came from the 10.5 branch.
+
+Machine - Microsoft Windows XP Professional Version 2002 Service Pack 2.
+
+Ant - Apache Ant version 1.7.0 compiled on December 13 2006.
+
+JDK 1.4 - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
+Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142-20061124 (SR7)
+
+Java 6 - Java(TM) SE Runtime Environment (build pwi3260sr3-20081106_07(SR3))
+IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20081105_25433
+
+Compiler - The 1.6 compiler was used to compile all classes, but java 1.4.2 classes were used to compile appropriate 1.4.2 support
+
+JSR 169 - J2ME support was built using IBM's j9 jvm from WEME6.1
+
+
+
+
Verifying releases
+
+
It is essential that you verify the integrity of the downloaded
+files using the PGP and MD5 signatures. MD5 verification ensures the
+file was not corrupted during the download process. PGP verification
+ensures that the file came from a certain person.
+
+
The PGP signatures can be verified using
+PGP or
+GPG.
+First download the Apache Derby
+KEYS
+as well as the asc signature file for the particular
+distribution. It is important that you get these files from the ultimate
+trusted source - the main ASF distribution site, rather than from a mirror.
+Then verify the signatures using ...
To verify the MD5 signature on the files, you need to use a program
+called md5 or md5sum, which is
+included in many unix distributions. It is also available as part of
+GNU
+Textutils. Windows users can get binary md5 programs from here, here, or
+here.
+
+
We strongly recommend you verify your downloads with both PGP and MD5.