Hi,
after the update from 5.0 to 5.1 beta, I get problems with calculations using stored procedure.
the following code :
var args = new Array();
args[0] = java.sql.Types.NUMERIC;
args[1] = offekrt_id
var typesArray = new Array();
typesArray[0] = 1;
typesArray[1] = 0;
var proc_declaration = '{?=call get_offerte_vkbedr_tot(?)}';
var dmesp = plugins.rawSQL.executeStoredProcedure('berp2', proc_declaration, args, typesArray, 1);
return dmesp.getValue(1, 1);
Gives the following error : ( it works fine in 3.5, 4.x, 5.0 )
Exception executing calculation: calc_verkoopprijs_totaal of table offertekaarten, error: java.lang.ClassCastException: com.servoy.j2db.scripting.Zjb cannot be cast to com.servoy.j2db.dataprocessing.JSDataSet
java.lang.ClassCastException: com.servoy.j2db.scripting.Zjb cannot be cast to com.servoy.j2db.dataprocessing.JSDataSet
Regards,