Setting SQLJ properties for an SQLJ-enabled Java project

After SQLJ support has been added to a Java™ project, you can set the SQLJ properties for the project.

Prerequisite: The project must be SQLJ-enabled.

To set SQLJ properties for an SQLJ-enabled project:

  1. In the Package Explorer view of the Java perspective, right-click the Java project, and then click Properties on the pop-up menu.
  2. In the left box in Properties window, click SQLJ Applications.
  3. (Optional) Type the options to apply to the SQLJ files when they are translated to Java.
  4. (Optional) To use package names that exceed 8 characters, select the Use long package names check box. A long package name cannot exceed 128 characters.
  5. Click OK.
Related reference
Properties window - SQLJ Applications page
sqlj - DB2 SQLJ Translator Command

Comentarios