title: byte[] data in PostgreSQL
body: <p>I have a spring application that uses MySQL as database.</p>
  
  <p>I want to migrate the application from MySQL to Postgres, and it seems that I can not declare byte[] array:</p>
  
  <p>I have this column:</p>
  
  <pre><code>@Type(type="org.hibernate.type.BinaryType")
  private byte[] data.
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Caused by: org.postgresql.util.PSQLException: ERROR: type "tinyblob" does not exist
  </code></pre>
  
  <p>Is there a way to achive this in PostgreSQL?</p>