title: Type mapping MySQL type text to Java Hibernate
body: <p>What is the correct mapping type from MySQL data type <code>text</code> to Java using Hibernate?</p>
  
  <pre><code>@Column(name = "STACKTRACE", length = Integer.MAX_VALUE)
  public String getStacktrace() {
      return this.stacktrace;
  }
  </code></pre>