@Column(name="transpired")
@Lob
private String transpired;
public String getTranspired() {
return transpired;
}
public void setTranspired(String transpired) {
this.transpired = transpired;
}
I tried using the following code in our model class. Transpired is a field with long text messages (reports). When viewing the "report", it retrieves the data from the database and displays it correctly in our UI. However, when I'm saving (upon editing or creating) the report, the field save on the database is (null).
Any idea on how I could save long texts? We were using varchar2(4000) before but most reports are more than 4000 characters.
Thanks.
EDIT: I'm using Oracle 10g. Column type is CLOB.