MongoDb stores Float field as Double. Getting IllegalArgumentException
<p>Data is stored correctly, however when I get the data back from Mongodb, I get the  </p>

<blockquote>
  <p>IllegalArgumentException. cannot set java.lang.Float to java.lang.Double.</p>
</blockquote>

<p>Does it have any converters, which will convert automatically from <code>double</code> to <code>float</code>.</p>