title: Map MediumBlob between mySQL & hibernate
body: <p>I am trying to map mediumblob in MYSQL with <code>type='mediumblob'</code> in Hibernate property file but I am getting the below exception.</p>
  
  <blockquote>
    <p>Invocation of init method failed; nested exception is
    org.hibernate.MappingException: Could not determine type for: BLOB,
    for columns: [org.hibernate.mapping.Column(INDEX_ZIP)]</p>
  </blockquote>
  
  <p>This is the property I am setting.</p>
  
  <pre><code>&lt;property name="indexZipBlob" type="BLOB"&gt;
      &lt;column name="INDEX_ZIP" /&gt; 
  &lt;/property&gt;
  </code></pre>