I have a column type defined in Oracle as XMLTYPE and I am trying to save xml content using JPA. I have used something like in my entity class.
@CLOB
@Column(name = "COLOUM_NAME")
private String coloumName;
But i am getting the following exception.
ORA-01461: can bind a LONG value only for insert into a LONG column
Any solution for above issue?