SQLJ stored procedures

The SQLJ Stored Procedures general tab has an over view of the information about a stored procedure. It includes information about who created the stored procedure and when, and the group number. This is a static page, except that you can rename the procedure from this page.

The SQLJ Stored Procedure parameter tab displays information about the attributes of the input parameters. The attributes are:

The SQLJ Store Procedure parameters tab is a static tab displaying the properties of the parameters for the stored procedure. 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 Store Procedure permission tab displays a property sheet for the permissions. You can grant execute permissions for a stored procedure to users, groups, or roles.

When you chose a user to whom you want to grant stored procedure execute permission, you can select the property button to display the property sheet for the object you are selecting.

To grant a permission on an object, click in the grid box for the object and type of permission. Continue clicking in the box to cycle through the options:

Using Java-SQL capabilities, you can install Java classes in the database and then invoke those methods from a client or from within the SQL system. You can also invoke Java static (class) methods in another way--as SQLJ stored procedures.

SQLJ stored procedures:

The end user need not know whether the procedure being called is a SQLJ stored procedure or a Transact-SQL stored procedure. They are both invoked in the same way.