You can create SQLJ files by using the New SQLJ File wizard.
Using the wizard, you can do the following actions:
- Name an SQLJ file and specify its package and source folder.
- Specify advanced project properties, such as additional JAR files, to
add to the project classpath, translation options, and whether to use long
package names.
- Select an existing SQL SELECT statement, or construct and test a new one.
- Specify information for connecting to the database at run time.
To create an SQLJ file by using the wizard:
- Click , or click the New toolbar
button.
- In the New window, expand the Data folder,
and then expand the SQLJ Applications folder to show
the available SQLJ choices.
- Click SQLJ File, and then click Next.
- Complete the wizard steps.
The SQLJ file is created and added to your project. If the project
does not already have SQLJ support, the wizard adds it to the project automatically.