I'm using MySQL 5.6 and with a couple of my procs I've been getting exceptions as below when running from DbFit. But these procs work when called from the MySQL Workbench. You can see it is logging some of the proc, although the very first bit "11)" is not part of the proc. I haven't been able to confirm the exact cause of the problem but including clauses such as a "not exists" seems to be a bit of a trigger, and also "not in'. Am I doing something wrong? Is this a known feature? Is it the mysql jdbc drivers are out of date? Thanks
java.sql.SQLException: java.lang.NumberFormatException: For input string: "11)
BEGIN
declare linstructorid int;
declare ltemplateusername varchar(50);
declare ltemplateinstructorid int;
declare lpermtemplateusername varchar(50);
declare lpermtemplateinstructorid int;
call log(concat('tradinginstrumentcreatetempl '"
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:430)
at com.mysql.jdbc.CallableStatement.getInstance(CallableStatement.java:505)
at com.mysql.jdbc.ConnectionImpl.parseCallableStatement(ConnectionImpl.java:3881)
at com.mysql.jdbc.ConnectionImpl.prepareCall(ConnectionImpl.java:3965)
at com.mysql.jdbc.ConnectionImpl.prepareCall(ConnectionImpl.java:3939)
at dbfit.api.DbStoredProcedureCall.toStatementExecution(DbStoredProcedureCall.java:54)
at dbfit.api.DbStoredProcedure.buildPreparedStatement(DbStoredProcedure.java:27)
at dbfit.fixture.DbObjectExecutionFixture.doRows(DbObjectExecutionFixture.java:74)
at fit.Fixture.doTable(Fixture.java:155)
at fitlibrary.traverse.AlienTraverseHandler.doTable(AlienTraverseHandler.java:18)
at fitlibrary.traverse.workflow.DoTraverseInterpreter.interpretWholeTable(DoTraverseInterpreter.java:99)
at fitlibrary.traverse.workflow.DoTraverseInterpreter.interpretWholeTable(DoTraverseInterpreter.java:87)
at fitlibrary.DoFixture.interpretWholeTable(DoFixture.java:69)
at fitlibrary.suite.InFlowPageRunner.run(InFlowPageRunner.java:34)
at fitlibrary.DoFixture.interpretTables(DoFixture.java:42)
at dbfit.DatabaseTest.interpretTables(DatabaseTest.java:26)
at fit.Fixture.doTables(Fixture.java:80)
at fit.FitServer.process(FitServer.java:81)
at fit.FitServer.run(FitServer.java:56)
at fit.FitServer.main(FitServer.java:41)