Java stored procedures

When using Java™ to write stored procedures, you can use two possible parameter passing styles.

The recommended style is the JAVA parameter style, which matches the parameter style specified in the SQLj: SQL routines standard. The second style, DB2GENERAL, is a parameter style defined by DB2® UDB. The parameter style also determines the conventions that you must use when coding a Java stored procedure.

Additionally, you should also be aware of some restrictions that are placed on Java stored procedures.

Related concepts
Java user-defined scalar functions
SQLJ procedures that manipulate JAR files
Parameter passing conventions for Java stored procedures and UDFs
Related tasks
Use Java SQL routines