db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: Create function problem
Date Thu, 02 Mar 2006 00:19:50 GMT
Jean T. Anderson wrote:
> Daniel John Debrunner wrote:
>>Jean T. Anderson wrote:
>>>Derby maps a SQL INTEGER to Java int (a primitive) and passing SQL NULLs
>>>isn't supported for primitive types. There's an FAQ on this at
>>>http://db.apache.org/derby/faq.html#null_args that also points to the
>>>mail list topic that fed the FAQ.
>>That FAQ is a bit out of date (I think, I can't see it now, get timeouts
>>connecting to the site).
>>There are two options for a function:
>>1) Declare the function RETURNS NULL ON NULL INPUT, 
>> ...
>>2) In the external name clause define the Java method signature, e.g.
> thanks! I'll update the FAQ.

I updated http://db.apache.org/derby/faq.html#null_args -- you may need
to refresh the page in your browser to see the updated page. Please let
me know if this needs any changes.



View raw message