These notes describe the difference between Apache Derby release 10.15.1.3 and the preceding release 10.14.2.0.
The most up to date information about Derby releases can be found on the Derby download page.
Apache Derby is a pure Java relational database engine using standard SQL and JDBC as its APIs. More information about Derby can be found on the Apache web site. Derby functionality includes:
The 10.15 release family supports the following Java and JDBC versions:
This is a feature release. The following new feature was added:
New users should consult the 10.15 documentation, especially the Getting Started With Derby guide.
Existing users who want to continue running Derby with a classpath should read the extended release note for issue DERBY-6945 (see below).
Existing users who want to run Derby with a module path should consult the module diagrams in the javadoc for the 10.15 public API. Templates for wiring together a module path can be found in the setEmbeddedCP, setNetworkServerCP, and setNetworkClientCP scripts located in the bin directory of the release distributions, as described by the "Manually setting the CLASSPATH/MODULEPATH environment variables" topic in the Getting Started With Derby guide.
The following issues are addressed by Derby release 10.15.1.3. These issues are not addressed in the preceding 10.14.2.0 release.
Issue Id
| Description |
---|---|
DERBY-7020 | Fix release targets to account for modularization changes |
DERBY-7018 | Test the demo programs after the changes made by DERBY-6945 |
DERBY-7016 | Adjust the set*CP scripts to include derbyshared.jar and to set a MODULEPATH variable as well |
DERBY-6981 | "SQLSTATE: XJ001, SQLERRMC: java.lang.NullPointerExceptionXJ001.U" |
DERBY-6980 | Documentation changes to accompany jigsaw-modularization of derby |
DERBY-6973 | Provide SHA-512 checksums on future releases |
DERBY-6945 | Re-package Derby as a collection of jigsaw modules |
DERBY-6856 | Make it possible to build Derby using JDK 9 |
DERBY-5543 | include debug info in derby builds uploaded to maven |
Compared with the previous release (10.14.2.0), Derby release 10.15.1.3 introduces the following new features and incompatibilities. These merit your special attention.
Modularize Derby, cleanly partitioning its packages across a small set of JPMS components.
A new jar file (derbyshared.jar) has been added. All Derby configurations require it. In addition, the derbytools.jar library is now required when running the network server and/or when using Derby DataSources.
Slightly different privileges must be granted to the Derby jar files when running under a Security Manager.
Derby jar files can now be wired into a module path for use by module-aware applications.
Legacy applications may fail if their classpaths don't contain the required jar files. Code common to all Derby configurations has been isolated in the new derbyshared.jar file. DataSources have moved from derbyclient.jar and derby.jar into derbytools.jar
Legacy applications which run under a Java SecurityManager may fail due to insufficient privilege grants.
Derby was divided into JPMS components for the following reasons:
Consult the module diagrams for configurations described on the landing page of the 10.15 public API. Then adjust your application's classpath as follows:
Java security policy files must grant slightly different privileges to Derby jar files. This is because packages have moved to different ProtectionDomains (chiefly into derbyshared.jar) and because an additional privilege is needed in order to read the module path. For more information, see the Configuring Java Security topic in the Derby Security Guide and consult the following template policy files in the demo/templates directory of the bin distribution:
Derby release 10.15.1.3 was built using the following environment:
It is essential that you verify the integrity of the downloaded files using the PGP and SHA-512 signatures. SHA-512 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 ...
% pgpk -a KEYS % pgpv db-derby-X.Y.tar.gz.asc or % pgp -ka KEYS % pgp db-derby-X.Y.tar.gz.asc or % gpg --import KEYS % gpg --verify db-derby-X.Y.tar.gz.asc
To verify the SHA-512 checksums on the files, you need to use a
platform-specific program. On Mac OSX, this program is called
shasum
, on Linux it is called sha512sum
,
and on Windows it is called CertUtil
.
We strongly recommend that you verify your downloads with both PGP and SHA-512.