title: Mysql Date/Datetime columns and Java persistence
body: <p>I have a Mysql table with DATE column , default '0000-00-00'. If I try to call, for instance,
  <code>em.find(MyTable.class,pk_value);
  </code> and it happens to be a record in database with default date value '0000-00-00', an exception is thrown(
  "java.sql.SQLException: Value ... cannot be represented as java.sql.Date". The same error happens for DateTime columns with default '0000-00-00 00:00:00'.<br>
  Is it any way to tell EntityManager that such values are ok ? 
  Thanks.</p>