I have a solution that is working in Servoy 5.1.4 heavily utilizing stored procedures, thanks to the rawSQL plugin. When this solution is opened in 5.2.2, strange things begin happening with the stored procedures.
The main problem is that arguments I send to the stored procedure do not get sent. It seems like one argument I send is remembered and then used for all subsequent procedure calls, even if I pass something different in. Occasionally, the value I want to send across does get sent.
Were any changes made to the rawSQL plugin that could account for this?
Here’s how I’m calling it:
var serverName = 'my_data_server'
var procedure = '{call AR_CUSTOMERINFO(?)}'
var args = [forms.customer.customer_id]
var typesArray = [0]
var maxReturnedRows = -1
var dataset = plugins.rawSQL.executeStoredProcedure(
serverName,
procedure,
args,
typesArray,
maxReturnedRows
)