|JPA - String attribute linked to xml type column [message #1774510]
||Mon, 16 October 2017 15:16
| Mike Figo
Registered: October 2017
i'm have a JPA entity which is linked to a DB2 table. One of the attributes is a String and is linked to a column of XML type.
@Column(name = "SEARCH_CRITERIA", nullable = false)
private String searchCriteria;
When selecting the records, everything goes right but this one column which returns a reference : com.ibm.db2.jcc.am.re@8cc92e26
openJPA used to return the content as a String :
How do i get the same result using EclipseLink ?
Thank you !
(Techs used : Java 8, JPA 2.1, Websphere 9, EclipseLink 2.5.2)
Powered by FUDForum
. Page generated in 0.02149 seconds