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:Multi tenancy with schema per tenant
Goto Forum:

Current Time: Tue Mar 20 14:06:06 GMT 2018

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

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