Hi,
According to this post
http://mail-archives.apache.org/mod_mbox/db-derby-user/200602.mbox/[EMAIL PROTECTED]
I can explicitly state the parameter bindings of a Java function. Can
something similar be done for the return type too?
For example this statement
CREATE FUNCTION F1(FIRSTINT INTEGER, SECONDINT INTEGER) RETURNS INTEGER
PARAMETER STYLE JAVA NO SQL LANGUAGE JAVA
EXTERNAL NAME
'utils.CompatibilityFunctions.f1(java.lang.Integer,java.lang.Integer)';
expects that the return type of the utils.CompatibilityFunctions.f1
method is "int" and _not_ "java.lang.Integer". But this way I cannot
return a NULL value. Is there a workaround for this?
Regards,
Robert