Creating an SQLJ file

You can create a new SQLJ file by using the New SQLJ File wizard.

Using the wizard, you can do the following actions:

To create an SQLJ file using the wizard:

  1. Click File > New > Other, or click the New toolbar button.

  2. In the New window, expand the Data folder, and then expand the SQLJ folder to show the available SQLJ choices. If you do not see the SQLJ folder under the Data folder, select the Show All Wizards check box.

  3. Click SQLJ File, and then click Next.

  4. If you selected the Show All Wizards check box in step 2, click OK in the Confirm Enablement window.

  5. 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.

 

Parent topic

Developing SQLJ applications

 

Related concepts

Building SQLJ-enabled Java projects

 

Related tasks

Adding SQLJ support to Java projects
Removing SQLJ support from Java projects
Creating and implementing Java Emitter Templates for the New SQLJ File wizard

Related reference
SQLJ statement syntax
SQLJ File page
Advanced Project Properties page
Select existing SQL statement page
Specify Runtime Database Connection Information page