2 个解决方案
#1
在实体中CLOB类型声明为String,比如:
private String remark;
@Lob
@Basic(fetch = FetchType.EAGER)
@Column(name="REMARK", columnDefinition="CLOB", nullable=true)
public String getRemark() {
return this.remark;
}
public void setRemark(String recvdocRemark) {
this.remark = remark;
}
#2
问题解决,非常感谢!
#1
在实体中CLOB类型声明为String,比如:
private String remark;
@Lob
@Basic(fetch = FetchType.EAGER)
@Column(name="REMARK", columnDefinition="CLOB", nullable=true)
public String getRemark() {
return this.remark;
}
public void setRemark(String recvdocRemark) {
this.remark = remark;
}
#2
问题解决,非常感谢!