[Pljava-dev] ANN: PL/Java 1.0.0b6 released

Thomas Hallgren thhal at mailblocks.com
Mon Dec 6 22:43:28 UTC 2004


It's been a while since the last PL/Java beta5 and a new PostgreSQL 
8.0.0rc1 was just released. This seemed to be a good time to make the 
next PL/Java release. The new release is called beta6 since several new 
features where added:

* Savepoint support
Awaiting full savepoint support from the PostgreSQL SPI layer, a 
temporary but well functioning layer of functions was implemented in 
PL/Java. The implementation prevents that a savepoint can live longer 
than the function where it was set and that it cannot be released or 
rolled back inside a nested function. The savepoint functionality 
requires PostgreSQL 8.0.0rc1 or later.

* SETOF functions can now return a set of a scalar type, i.e. SETOF int
Previously, PL/Java could only return SETOF <complex type>. Now, a 
static method returning a java.util.Iterator can be used as  a function 
returning SETOF <scalar type>

* ExecutionPlan pooling
PL/Java will make more effective use of prepared execution plans through 
an LRU cache implementation.

* ClassLoader based resource retrieval
The real resource support that was lacking in the internal PL/Java 
ClassLoader has now been added. This means that jar files loaded using 
install_jar/replace_jar may contain files that can be accessed using the 
getResource and getResourseAsStream on the Class and ClassLoader classes.

PL/Java source and ports for Win32 and Linux x86 can be found at 
http://gborg.postgresql.org/project/pljava/genpage.php?downloads

Regards,
Thomas Hallgren





More information about the Pljava-dev mailing list