title: Conversion strategies for bind variables
body: <p>A Spring JDBC question: I use a lot of objects as bind variables which are not automatically mapped to their JDBC equivalents, e.g. <code>jdbctemplate.query(sql, foo, bar, wee)</code> with <code>foo</code>, <code>bar</code> and <code>wee</code> being instances of objects which are not covered by the JDBC type autoconversion.</p>
  
  <p>Can anyone on SO suggest a best practice for a conversion strategy for such cases? Most cases would boil down to call <code>toString()</code> on the instances anyways.</p>