title: JAVA PreparedStatement parameters values to appear in query
body: <p>I have searched a lot for how to log JAVA Preparedstatement parameters values such as </p>
  
  <pre><code>prepStmt.setString, prepStmt.setInt,.... etc.
  </code></pre>
  
  <p>I know this question may seemed that is solved before but actually the answered questions by print out the <code>prepStmt</code> won't work for all JDBC drivers as i tried them before.</p>