title: Field 'class' doesn't have a default value
body: <p>In our app, I have a class describing a person (eye and hair colour, height, etc). Once the form of registering is fulfilled, I click in the submit button, and an exception is thrown:</p>
  
  <pre><code>Class: java.sql.SQLException
  Message: Field 'class' doesn't have a default value
  </code></pre>
  
  <p>I am scratching my head about this, because none of the classes have a field named class, for obvious reasons (it's a reserved word), and in the database there is no column named class, neither.</p>
  
  <p>Any idea why this happens? And how to fix it?</p>
  
  <p>EDIT:</p>
  
  <p>I tried this:</p>
  
  <pre><code>classThrowingExceptionInstance.class=ClassThrowingException
  </code></pre>
  
  <p>And now it says Cannot set readonly property: class for class ClassThrowingException</p>