HTTPS clone URL
Subversion checkout URL
- Building pl java
- Complete uninstall
- Configuring the postgresql server
- Contribution guide
- Creating a scalar udt in java
- Debugging in c
- Debugging your java code
- Default type mapping
- Exception handling
- Function mapping
- Functions returning sets
- Installation guide
- Installing as extension
- Installing on linux (or other *nix)
- Mapping an sql type to a java class
- Module configuration
- PLJava License
- Returning complex types
- Running the pl java sample tests
- Sporadic hanging
- Sql deployment descriptor
- SQL functions
- Technology in brief
- The choice of JNI
- Thoughts on logging
- User guide
- Using jdbc
- Windows installation
- Writing java functions, triggers, and types
Clone this wiki locally
PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, and Functions to the PostgreSQL™ backend. The development started late 2003 and the first release of PL/Java arrived in January 2005. The project is released under the PLJava License license.
- Ability to write both functions and triggers using Java 1.4 or higher.
- Standardized utilities (modeled after the SQL 2003 proposal) to install and maintain Java code in the database.
- Standardized mappings of parameters and result. Supports scalar and composite UDT's, pseudo types, arrays, and sets.
- An embedded, high performance, JDBC driver utilizing the internal PostgreSQL SPI routines.
- Metadata support for the JDBC driver. Both DatabaseMetaData and ResultSetMetaData are included.
- Full support for PostgreSQL 8.0 savepoints and exception handling.
- Ability to use IN, INOUT, and OUT parameters when used with PostgreSQL 8.1 or higher
- Two language handlers, one TRUSTED (the default) and one that is not TRUSTED (language tag is javaU to conform with the defacto standard)
- Transaction and Savepoint listeners enabling code execution when a transaction or savepoint is commited or rolled back.
- Integration with GNU GCJ on selected platforms.
Note: at the moment, the Downloads available below are quite old. Please consider Building PL/Java using the source here on GitHub.