Bug 407532 - Incorrectly mapped composite key based relationship produces confusing result
Summary: Incorrectly mapped composite key based relationship produces confusing result
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 10:13 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2013-05-08 10:13:29 EDT
In the following Stack Overflow question:

- http://stackoverflow.com/questions/16399724/jaxb-unexpected-elements-in-xml-output

Bad output is produced.  

<building buildingId="9">
<benches>
DOMRecord(<?xml version="1.0" encoding="UTF-8"?><buildingBenchAssociation><benchId>245865</benchId><buildingId>9</buildingId></buildingBenchAssociation>)
</benches>
<benches>
DOMRecord(<?xml version="1.0" encoding="UTF-8"?><buildingBenchAssociation><benchId>245866</benchId><buildingId>9</buildingId></buildingBenchAssociation>)
</benches>
<benches>

We should fix this so that an error message is produced when the JAXBContext is created instead.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:06:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:07:30 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink