Structured Query Language in Java (SQLJ) is a set of programming extensions that enable a programmer, using the Java programming language, to embed statements that provide SQL (Structured Query Language) database requests.
Note: SQLJ is not supported on WebSphere Application Server for OS/400.
Advantages of developing applications with SQLJ include improved performance and a shorter, more efficient development cycle:
You might consider using SQLJ in situations where dynamic SQL is not needed, and where applications use DB2 as the backend database.
Related tasks
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 for bean-managed persistence entity