CallableStatement cs = conn.prepareCall( "? = CALL getDriverType(cast (? as INT))" cs.registerOutParameter(1, Types.INTEGER); cs.setInt(2, 35); cs.executeUpdate();
Register the output type of the parameter before executing the call.
Scripting on this page tracks web page traffic, but does not change the content in any way.