title: Hibernate - How to set sql-type by annotation?
body: <p>I have a file as a byte[] fileContent. My mySql-scheme is generated by Hibernate and by default hibernate sets the sql-type of fileContent to BLOB.</p>
  
  <p>But a BLOB is not big enough for my files. I will need at least a MEDIUMBLOM or even a LONGBLOB.</p>
  
  <p>But how can i annotate my field so that Hibernate will generate the scheme with my field as a LONGBLOB?
  I have search google for 2 hours now without getting anything...</p>
  
  <p>Shouldn't this be a so simple and common task that it should be documented somewhere??</p>
  
  <p>Please help a frustrated programmer!!</p>
  
  <pre><code>@WhatAnnotationCanIUseToForceHibernateToMakeThisALONGBLOB????
  private byte[] fileContent;
  </code></pre>