title: MySQL enum with hibernate
body: <p>I have a database table using an enum.  This is already working with hibernate (using XML), and I'm trying to convert it to annotations as this is one of the last pieces to still be using xml notation.</p>
  
  <p>The column definition:</p>
  
  <pre><code>enum('Active','Pending','Cancelled','Suspend')
  </code></pre>
  
  <p>The following works:</p>
  
  <pre><code>&lt;property
      name="status"
      column="STATUS"
      type="string"
      not-null="true" /&gt;
  </code></pre>
  
  <p>This does not work:</p>
  
  <pre><code>@Column(name = "status")
  public String status;
  </code></pre>
  
  <p>The annotation-style leads to the following exception upon startup:
  org.hibernate.HibernateException: Wrong column type in UserDTO for column status. Found: enum, expected: varchar(255)</p>
  
  <p>Is there any way for me to force this to accept a String as it did using the XML notation?</p>