Null Values in ProcedureCall
<p>I try the following code:</p>

<pre><code>    ProcedureCall call = ss.createStoredProcedureCall("servicos.CLASSIFIER_MAP");

    call.registerParameter( 1, String.class, ParameterMode.IN).bindValue(classifierString);
    call.registerParameter( 2, Long.class, ParameterMode.IN ).bindValue(totalRows);
</code></pre>

<p>Sometimes the variable totalRows is null and an error appears</p>

<pre><code>WARN:   SQL Error: 17041, SQLState: 99999
Error calling CallableStatement.getMoreResults
</code></pre>

<p>It is possible to send null values into a ProcedureCall in hibernate? </p>