Any
projects that support Java™ development
are eligible for SQLJ support,
including J2EE projects, Web projects, EJB projects, and Java projects.
About this task
You can add SQLJ
support to a project by using one of the following
methods:
- Create an SQLJ file in
the project using
the New SQLJ File wizard.
- Use the Add SQLJ Support wizard.
Procedure
To add SQLJ support to a project with the Add SQLJ Support
wizard:
- Open the Add SQLJ Support
wizard:
- Click ,
or click the New toolbar
button.
- In the New window, expand the Data category,
and then expand the SQLJ category.
- Click Add SQLJ Support to Projects,
and
then click Next.
The wizard displays a list of all the eligible projects
that do
not have SQLJ support.
- Select the projects
to which you want to add SQLJ support.
- Specify
the JAR file to resolve SQLJ references.
- To
specify advanced properties for all the projects that you selected:
- Select the Set advanced project
properties check
box, and then click Next.
- On the
Advanced Project Properties page, specify additional
JAR files, translation options, and whether to use long package names
for
the projects.
- Click Finish to
add SQLJ support to the
selected projects.
Results
Adding SQLJ support
to a project creates a folder in the project
for SQLJ customization scripts (the default name is SQLJAntScripts).