The SQLJ Function parameter tab displays information about the attributes of the input parameters. The attributes are:
Name – displays the name of the input parameter.
Type – displays the datatype of the input parameter.
Mode – displays the mode is either in or out, with in being an input parameter, and out being an output parameter.
Order – the order of the parameter in the list of parameters. This is a numeric vlaue.
The SQLJ Function parameters tab is a static tab displaying the properties of the parameters for the SQLJ function. To change the parameters displayed here, you must change the definition of the procedure by dropping it and recreating it with the new definition.
The SQLJ Functions general tab has an over view of the information about a SQLJ function. It includes information about who created the SQLJ functions and when, and the group number. This is a static page, except that you can rename the procedure from this page.
You can use the Java API in SQLJ functions, in UDFs, and in SQL statements as extensions to the available built-in functions provided by SQL.
You can invoke Java methods in SQL by referencing them with their fully qualified Java names. Reference instances for instance methods, and either instances or classes for static methods.
You can use static methods as user-defined functions (UDFs) that return a value to the calling environment. You can use a Java static method as a UDF in SQLJ functions, triggers, where clauses, select statements, or anywhere that you can use a built-in SQL function.
When you call a Java method using its name, you cannot use methods that return output parameters or result sets to the calling environment. A method can manipulate the data it receives from a JDBC connection, but the method can only return the single return value declared in its definition to the calling environment.