[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Oracle XMLType, JPA and EclipseLink


Hi.

Is there any magic that needs to be in place to have Oracle XMLType working with EclipseLink 1.0.1 and JPA?

My db column is defined as

XMLDATA XMLTYPE null

My mapping looks like:

@Column(columnDefinition = "XMLTYPE")
private String xmlData;

Everything works just as expected, is the size of xmlData is < 4k. Then i get ORA-01461. I guess its the String that makes it hit some varchar limit somewhere somehow? How can I make this work?

Thanks!

/Magnus Heino