Use this page to specify the SQLJ properties for your project.
- Translation options
- The list of options to apply to the SQLJ files
when they are translated to Java™ code. For a list of SQLJ translator
options, see the following topic in the DB2® Information Center: sqlj - SQLJ translator.
- Use long package names
- If this option is selected, a long name (more
than 8 characters) can be used for the package. A long package name cannot
exceed 128 characters.
- Include -C-sourcepath option on translation
- If this option is selected, the source code path
of the project is passed to the SQLJ translator. If you use this option,
you do not have to specify the -C-sourcepath option manually
in the translation options. If the SQLJ translator cannot resolve a class
reference through the class path, it looks through the source path to find
references to the class that it needs to resolve.
Important: Use
this feature only for projects that have simple class references in SQLJ clauses.
On projects that have complex references in SQLJ clauses, the SQLJ translator
might not return from searching for the referenced classes.