title: How do I persist a Java property of type Object using Hibernate?
body: <p>I have a Java class with a property like this</p>
  
  <pre><code>private Object myObj;
  </code></pre>
  
  <p>When I try to save the class using Hibernate annotations, I get the rather confusing error message "property mapping has wrong number of columns".</p>
  
  <p>What is the correct approach to persisting a class containing a generic property such as this?</p>