Have a stored procedure which accepts two inputs (as null params) and returns these inputs plus an extra item (integer) called return value.

Calling this as a stored procedure (with two null params) causes the stored procedure to run correctly, but the driver returns an error due to the unexpected third return value.
Specifing three inputs (or one) doesn't run the stored procedure correctly at all.


Calling this as a function, (with two null params as input) causes the stored procedure to run correctly, but the driver returns an warning, only the first time this stored procedure is executed after each driver startup.

<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20130111_0503" instance="AcmeTEST" version="4.0.0.1">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="warning">Parameter type mismatch detected in function 'dbo._01_spAcme'. Parameter '@sucCount' at index 2 is of type 'INOUT' and field '$1' passed to it is of type 'IN'.</status>
<status level="warning">Parameter type mismatch detected in function 'dbo._01_spAcme'. Parameter '@errCount' at index 3 is of type 'INOUT' and field '$2' passed to it is of type 'IN'.</status>
<jdbcut-parameters event-id="0" jdbc:number-of-params="1">
<jdbcaram jdbc:name="return value" jdbcaram-type="OUT" jdbcosition="1" jdbc:sql-type="java.sql.Types.INTEGER">
<jdbc:value>0</jdbc:value>
</jdbcaram>
</jdbcut-parameters>
<status event-id="0" level="success"/>
</output>
</nds>

Is there a way to suppress this warning and hint to the shim that the two null parameters are of type INOUT instead of IN?