db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Seebregts <to...@cibecs.com>
Subject Re: Variable Length Parameter Lists
Date Tue, 13 Sep 2005 15:07:06 GMT
Hi Rick,

I would very much like to use Java 1.5 varargs ... the particular use 
case is processing a whole row as part of a trigger and it would save me 
having to create a seperate function definition for each table.

Its not a train smash - just would make things cleaner and simplify 
maintenance in the future.



>-----Original Message-----
>From: Rick Hillegas [mailto:Richard.Hillegas@Sun.COM] 
>Sent: Monday, September 12, 2005 6:36 PM
>To: Derby Discussion
>Subject: Re: Variable Length Parameter Lists
>Hi Tony,
>The syntax is, unfortunately, rigid. What do you need to do? Do you want 
>to avoid declaring each overload because your overloads are changing 
>rapidly? Are you using Java 1.5 varargs?
>Tony Seebregts wrote:
>>> Hi,
>>> Is there a way to specify variable length parameter lists in a CREATE 
>>> FUNCTION statement ?
>>> regards
>>> Tony Seebregts

View raw message