You can edit SQLJ files in the workbench in the same way that you can edit Java™ files.
Lines that contain SQLJ statements are shown in color in the editor. You can specify the color on the SQLJ page in the Preferences window. The editor flags syntax errors in SQLJ statements and Java code.
When you build an SQLJ-enabled project, the workbench runs the SQLJ translator on the file, generates a Java file, and then compiles the Java file. If you enabled automatic building on the Workbench page in the Preferences window (
), when you modify and save a file in the project, the workbench automatically builds the project.To edit an SQLJ file: