Project: Birt
Bug 232898 call procedureName(arg) gets the return value
Reported: 2008-05-20 01:23:02 | Status: closed fixed

Description: There is a procedure [dbo].[counterInT1]: @counter int output AS select @counter=count(*) from T1 call dbo.counterInT1(?) got the return value but not the value of @counter Build number: 2.3.0.v20080520-0630 Steps to reproduce: 1, New a stored procedure dataset 2, Specify the Query like: {call counterInT1(?)} 3, Go to parameters page Expected result: The parameter should be @counter and type should be output. Actual result: The parameter is @Return Value. Error log:

Files changed in fix:
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/CallStatement.java