SQLJ is a set of programming extensions that allow a programmer using the Java programming language to embed statements that provide SQL (Structured Query Language) database requests. SQLJ is similar to existing extensions for SQL that are provided for C, Formula Translation, and other programming languages. IBM, Oracle, and several other companies are proposed SQLJ as a standard and as a simpler and easier-to-use alternative to Java Database Connectivity.
The SQLJ 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 data types.