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.

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 affect UDR registration.