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