Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JPA mapping problem. Multiple values
JPA mapping problem. Multiple values [message #955264] Tue, 23 October 2012 16:58
Mark Jones is currently offline Mark JonesFriend
Messages: 5
Registered: October 2012
Junior Member
Hi I am stuck trying to map this entity to the following structure.

class Top {

private Set<Child> children = new HashSet<Child>(0);


class Child {

private String attribute;
private String valueOne;
private String valueTwo;


<childOne attribute="foo">valueOne</childOne>
<childTwo attribute="foo">valueTwo</childTwo>

XmlValue is not able to appear twice on an element and none of the approaches I have tried have worked. If anyone could give me a pointer that would be great.

Previous Topic:Problems using the @ClassExtractor annotation
Next Topic:XmlReadTransformer only for a read-only mapping
Goto Forum:

Current Time: Thu May 24 23:38:03 GMT 2018

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

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

Back to the top