db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hill <Thomas.K.H...@t-online.de>
Subject Re: creating a SQL function in derby
Date Sat, 15 Aug 2009 09:13:45 GMT
Finally spotted the problem.

The method definition should have read:

    public static void spGetNextID( int iNextVal[], String vcIDName )

(not  public static int spGetNextID...)

and the line trying to return the integer at the end 

    return iNextVal[0];

needed to be removed.

Now it works.


View raw message