title: Hibernate 4.1.2.FINAL Disabling contextual LOB creation as createClob() method threw error , Blob field
body: <p>I want to create a BLOB field with hibernate/postgresql 9.1.1</p>
  
  <p>Why do I see this message in the logs:</p>
  
  <pre><code>INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-5)
  HHH000424: Disabling contextual LOB creation as createClob() method threw error : 
  java.lang.reflect.InvocationTargetException
  </code></pre>
  
  <p>I know this is not an error.</p>
  
  <p>Hibernate 4.1 documentation:</p>
  
  <pre><code>"@Lob indicates that the property should be persisted in a Blob or a Clob depending
  on the property type: java.sql.Clob, Character[], char[] and java.lang.String will be
  persisted in a Clob. java.sql.Blob, Byte[], byte[] and Serializable type will be persisted in a Blob."
  </code></pre>
  
  <p>I declare my field like this:</p>
  
  <pre><code>@Lob
  @Type(type = "org.hibernate.type.MaterializedClobType")
  @Basic(fetch=javax.persistence.FetchType.LAZY)
  @Column(name = "`ACTA_CERTIFICACION`")
  public byte[] getActacertificacion() {
      return actacertificacion;
  }
  /**
   * @param actacertificacion
   * @uml.property  name="actacertificacion"
   */
  public void setActacertificacion(byte[] actacertificacion) {
      this.actacertificacion = actacertificacion;
  }
  </code></pre>
  
  <p>But in the database its create like a text field:</p>
  
  <pre><code>"ACTA_INCREMENTOSUSTITUCION" text
  </code></pre>
  
  <p>What can I do?, I want to create a byte field or something similar.</p>