SQL/MX Programming Manual for Java

Introduction
HP NonStop SQL/MX Programming Manual for Java523726-003
1-21
Dynamic SQLJ Execution
Dynamic SQLJ Execution
If the SQLJ run time fails to load an SQL statement from the module, it calls JDBC to
prepare and execute the statement dynamically. This process is called the default run
time. Figure 1-5 shows the dynamic SQLJ execution environment.
For more information about static and dynamic SQL, see Static and Dynamic SQL on
page 4-1.
Figure 1-5. Dynamic SQLJ Execution Environment
VST004.vsd
JVM
JDBC/MX
MyProg
SQLJ Run Time
Keys File
MyProg_SJProfile
Keys.class
Iterator Class
MyProg$Iter.
class
Connection
Context Class
SQLMXCtx.class
Java Class File
of the SQLJ Program
MyProg.class
Extended Profile
MyProg_SJProfile0.ser
JAR File of the
SQLJ Application
MyApp.jar
SQL/MX
JDBC/MX
MXCMP