PL/Java 1.6.3 announced
PL/Java brings functions, triggers, aggregates, types, operators, etc. in Java.
1.6.3 is the third minor update in the 1.6 series, for applications on PostgreSQL 9.5 or later and Java 9 or later. Legacy applications requiring older PostgreSQL or Java versions are supported by the 1.5 series.
1.6.3 adds support for PostgreSQL 14, brings a few improvements to the annotation-driven SQL generator and the runtime, and fixes several bugs. It also begins preparation for the impact of changes to Java's permission enforcement coming in Java 17 and later with JEP 411.
For more on those upcoming changes in Java and how PL/Java will adapt, please bookmark JEP 411 on the PL/Java wiki.
Current users of a 1.5.x release should also review the 1.6.0 release notes for changes that may require attention before updating to 1.6.x.
Project site: http://tada.github.io/pljava/
Release notes: http://tada.github.io/pljava/releasenotes.html
Selected changes
-
Can generate a complete family of cross-type operators related by commutation and negation from a single Java method. A bug kept that from working in 1.6.2.
-
A method parameter can now be annotated so that the PostgreSQL function parameter will default to null. Formerly, only non-null defaults could be specified that way.
-
The current thread's context class loader now has a useful value on entry to a PL/Java function.
Please see the release notes for a more complete list of changes.
Availability:
1.6.3 is available from GitHub as a source release, which builds quickly using Maven:
Release page: https://github.com/tada/pljava/releases/tag/V1_6_3
This wiki page will add links to prebuilt packages that become available:
https://github.com/tada/pljava/wiki/Prebuilt-packages