title: Print stored procedure message directly to Java console
body: <p>I have a stored procedure where I am using</p>
  
  <pre><code>dbms_output.put_line(' output' || outVar);
  </code></pre>
  
  <p>I want to print same output directly in Java console (directly from stored proc) without using below code to get <code>outVar</code> :</p>
  
  <pre><code>callableStatement.registerOutParameter(1, String);
  system.out.println(callableStatement.getString());
  </code></pre>