SQLJ
The term “SQLJ” refers to a series of specifications for ways to use the Java TM programming language with SQL. The specifications are in several parts: SQLJ: Embedded SQL – Specifications for embedding SQL statements in Java methods. SQLJ: SQL Routines – Specifications for calling Java static methods as SQL stored procedures and user-defined functions. SQLJ: SQL Types – Specifications for using Java classes as SQL user-defined datatypes. A reference implementation of SQLJ has been provided by Oracle.
URL: http://www.sqlj.org/