A SQLJ program contains Java/JDBC code, SQLJ declaration statements, and SQLJ executable statements, as illustrated by Figure 11.1.
Table 11.1. Elements of a SQLJ program
Java & JDBC code + SQLJ Declaration Statements + SQLJ Executable Statements
This chapter covers SQLJ declarations, SQLJ executable statements, interoperability between SQLJ and JDBC, and, finally, Expressions in SQLJ.
This category contains import statements, connection contexts declaration, execution contexts declarations, and iterators declarations.
import java.sql.SQLException; import sqlj.runtime.ref.DefaultContext; import oracle.sqlj.runtime.*; ...
A connection context ...