I’m used to work with MS SQL Server and this is my first time with MySql.
I have defined a very simple Stored Procedure in my database:
CREATE DEFINER=`root`@`%` PROCEDURE `logs_test`(par1 int, out par2 int) BEGIN set par2=234; END
When i try to call it like that:
call=system.db.createSProcCall("logs_test") call.registerInParam(1, system.db.INTEGER,10) call.registerOutParam(2, system.db.INTEGER) system.db.execSProcCall(call)
I get the following error:
If I try to use named paramters, it doesn’t work either and the error switches to:
Thanks in advance