Embedded Structured Query language in Java (SQLJ) support
Structured Query Language in Java (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.
Advantages of developing applications with SQLJ include improved performance
and a shorter, more efficient development cycle:
- You improve performance by using static SQL statements.
- You reduce the development cycle because:
- You write less code with the simpler SQLJ syntax, which reduces the number
of lines of code required to execute statements, and to set and retrieve
parameters.
- You detect programming errors earlier
in the development phase with the onlinecheck
function, which performs data type and schema validation.
You might consider using SQLJ in situations where dynamic SQL is not needed,
and where applications use DB2 as the backend database.

Using embedded Structured Query Language in Java (SQLJ) support
Using Structured Query Language in Java (SQLJ) for Enterprise Java Bean (EJB) Container Managed Persistence (CMP) beans
Using Structured Query Language in Java (SQLJ) for Enterprise Java Bean (EJB) Bean Managed Persistence (BMP) entity beans, session beans, and
servlets
Searchable topic ID:
sqljdef
Last updated: Jun 21, 2007 8:07:48 PM CDT
WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/cdat_sqljdef.html