title: How to get parameters from PreparedStatement?
body: <p>I'm writing generic logger for SQLException and I'd like to get parameters that were passed into PreparedStatement, how to do it ? I was able to get the count of them.</p>
  
  <pre><code>ParameterMetaData metaData = query.getParameterMetaData();
  parameterCount = metaData.getParameterCount();
  </code></pre>