Drop and recreate your function
Derby Tools and Utilities Guide
64
· Routine: Drop and recreate your function or procedure so that its arguments and
return type match your Java method according to the SQL Standard rules described
in "Argument matching" in the Derby Reference Manual.