Can PreparedStatement's 'setObject' method be used for any datatype?
<p>Can the <code>PreparedStatement</code>'s <code>.setObject</code> method be used for any data type (<code>String</code>, <code>Integer</code>, <code>Double</code>, <code>Date</code>, <code>DateTime</code>, <code>Byte Array</code>, etc.) supported by MySQL instead of using the individual <code>.setInt</code>, <code>.setDouble</code>, etc. methods?</p>

<p>Thanks!</p>