Hi,

> You made the arguments under implicit assumption that the end user is
> writing these functions. The assumption breaks down in the following
> two cases which are important to me:
>
> 1. User defined functions already exist and their signatures can not
> be changed.
>  2. User defined function are computer generated.
>
> In both cases it is possible to create wrappers around these
> functions.

Yes, that would be an option.

> The only purpose of such wrappers would be to check Double
> for null and either cast it to double or to throw an exception. Of
> course it is doable but I thought the proper place for such
> functionality may be within  H2 code itself and avoid writing
> wrappers.

Java supports proxy classes, maybe a similar mechanism could be
implemented for user defined functions (something like triggers or
interceptors for functions).

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to