Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JPA - String attribute linked to xml type column
JPA - String attribute linked to xml type column [message #1774510] Mon, 16 October 2017 15:16
Mike Figo is currently offline Mike FigoFriend
Messages: 1
Registered: October 2017
Junior Member

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 :

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)
Previous Topic:Add @Transient annotaion on the dynamically generated entity field using eclipselink
Next Topic:complex merge fails with IntegrityConstraintException <SOLVED>
Goto Forum:

Current Time: Tue Feb 25 16:40:54 GMT 2020

Powered by FUDForum. Page generated in 0.04741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top