A Java™ class file or source file that contains
the related SQL statement.
- What happens when you select a Java file
in the SQL Outline view
- The following properties of the file appear in the Properties
view:
- File Name
- The name of the Java class
file or source file.
- IsNative
- Indicates whether the implementation of the method is written
in Java or another programming
language. If the value is TRUE, then the method is not written in Java and the workbench cannot determine
the line number at which the SQL statement appears in the Java file.
- Java Package
- The name of the Java package
in which the file appears.
- Method Name
- The name of the method in the Java file
that runs the corresponding SQL statement.
- Source Location
- The location of the source file within your project.
- What happens when you double-click a Java file
in the SQL Outline view
- If the source file exists in your project, the file opens in an
editor in the workbench. The text cursor is positioned on the line
where the first related SQL statement appears.
- What options appear when you right-click a Java file in the SQL Outline view
- Show in SQL Editor
- In the SQL editor, displays all of the SQL statements that are
in the class file or source file.
- Export SQL to File
- Lets you save in an .sql file all of the SQL statements that are
in the class file or source file.