PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to the PostgreSQL™ backend.
The SQL/JRT standard has always just said class, but it's debatable whether it intended to mean 'class' strictly (and rule out SQL use of a static method on an interface), or simply used 'class' in a broader sense not excluding interfaces. As there is no technical obstacle to using static methods that have been supplied on an interface, relax the annotation-processing-time check that needlessly prevented that.
Add an example that tests that, and also the declaration of methods on nested classes and interfaces (as long as everything is public on the way).
The SQL/JRT standard has always just said class, but it's debatable whether it intended to mean 'class' strictly (and rule out SQL use of a static method on an interface), or simply used 'class' in a broader sense not excluding interfaces. As there is no technical obstacle to using static methods that have been supplied on an interface, relax the annotation-processing-time check that needlessly prevented that.
Add an example that tests that, and also the declaration of methods on nested classes and interfaces (as long as everything is
public
on the way).Addresses https://github.com/tada/pljava/issues/426.