Compiling SQLJ Classes

You can compile SQLJ classes into Java .class files. Control compilation by setting the SQLJ translator options.

To compile a SQLJ class:

  1. Set the project's SQLJ translator options:
  2. In the Navigator, select the SQLJ class.
  3. Right-click, and choose Make from the context menu.
  4. See the status bar at the bottom of the JDeveloper window for the result of the compilation. Errors, if any, will be listed in the log window.

Embedding SQL in Java Programs with SQLJ