I am having trouble setting the type of a String, it goes like
public void setTextDesc(String textDesc) {
this.textDesc = textDesc;
}
@Column(name="DESC")
@Lob
public String getTextDesc() {
return textDesc;
}
and it didn't work, I checked the mysql schema and it remains varchar(255), I also tried,
@Column(name="DESC", length="9000")
or
@Column(name="DESC")
@Type(type="text")
I am trying to make the type to be TEXT, any idea would be well appreciated!