Skip to content

Commit 0066a1e

Browse files
committed
Use PL/Java 1.6.0 to save more tedium.
PL/Java 1.6.0's SQL generator is able to order UDTs and functions it generates so that manually-added provides/requires are not needed to make sure a UDT is created before functions that refer to it as parameter or return type. By bumping the pljava-api dependency to 1.6.0, many of the annotations tediously added in commit d32f84e for earlier PL/Java versions can now be avoided. With PL/Java 1.6.0, the minimum supported Java release is 9, so edit the POM to use a newer maven-compiler-plugin and specify 9 as the Java release.
1 parent 73b662b commit 0066a1e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎java/pom.xml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
<plugins>
1010
<plugin>
1111
<artifactId>maven-compiler-plugin</artifactId>
12-
<version>2.4</version>
12+
<version>3.8.1</version>
1313
<configuration>
14-
<source>1.6</source>
15-
<target>1.6</target>
14+
<release>9</release>
1615
</configuration>
1716
</plugin>
1817
<plugin>
@@ -38,7 +37,7 @@
3837
<dependency>
3938
<groupId>org.postgresql</groupId>
4039
<artifactId>pljava-api</artifactId>
41-
<version>1.5.1</version>
40+
<version>1.6.0</version>
4241
</dependency>
4342
<dependency>
4443
<groupId>junit</groupId>

0 commit comments

Comments
 (0)