Java Tutorial/Trail: JDBC Database Access

PostgreSQL
The use of PostgreSQL-specific Java classes is explained in the PostgreSQL JDBC Interface online documentation.

Writing Functions and Triggers in Java
PostgreSQL, Oracle, DB2 and MySQL allow to write functions and triggers inside the database in the Java programming language.