lecosson / assql

Automatically exported from code.google.com/p/assql
0 stars 0 forks source link

Adding parameters to stored procedure #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description

1. Call SprocStatement.addSPParameter(). It calls spsql() which further call
   getSPParameters() to push parameters.
2. In getSPParameters() if _parameters[name] == null then last assigned
   value in "formatedValue" (which is having last non null parameter) is
   pushed in formattedArray.

Temporary solution :- if _parameters[name] == null then in else assign
blank string into formatedValue thus a blank string is pushed in
formattedArray in case of null.

Original issue reported on code.google.com by anujshar...@gmail.com on 9 Mar 2010 at 1:11

GoogleCodeExporter commented 9 years ago
I am not sure what classes you are referring to, SprocStatement does not exist 
in this 
library.

Original comment by macl...@gmail.com on 9 Mar 2010 at 2:08

GoogleCodeExporter commented 9 years ago
Sorry! It was logged by mistake. We are using wrapper on AsSql library and that 
is
having SprocStatement class.

Original comment by anujshar...@gmail.com on 9 Mar 2010 at 4:11