Home | Previous Page | Next Page   Creating Java User-Defined Routines >

Registering Java User-Defined Routines

For a UDR to be invoked in an SQL statement, it must be registered in the current database. Use the CREATE FUNCTION and CREATE PROCEDURE statements to register UDRs. For details about SQLJ compliance, refer to Complying with SQLJ.

Tip:
Place your SQL statements for registering UDRs written in Java code in a deployment descriptor file.

The following sections describe the Java-specific syntax of the CREATE FUNCTION and CREATE PROCEDURE statements that affects UDR registration. For information on the complete syntax of these SQL statements, see the IBM Informix: Guide to SQL Syntax.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]