tag:blogger.com,1999:blog-1710464868724994296.post7184807958387105107..comments2023-06-29T09:48:09.653-04:00Comments on Java XML and JSON Binding: JAXB and java.util.MapBlaise Doughanhttp://www.blogger.com/profile/02016807982653343777noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1710464868724994296.post-57646530052441967242013-04-03T11:36:52.049-04:002013-04-03T11:36:52.049-04:00Hi Julien,
The issue you are seeing is caused by ...Hi Julien,<br /><br />The issue you are seeing is caused by the following bug which has been fixed in EclipseLink 2.4.2:<br />- <a href="http://bugs.eclipse.org/399390" rel="nofollow">http://bugs.eclipse.org/399390</a><br /><br />You can download a nightly 2.4.2 build from:<br />- <a href="http://www.eclipse.org/eclipselink/downloads/nightly.php" rel="nofollow">http://www.eclipse.org/eclipselink/downloads/nightly.php</a><br /><br />In EclipseLink 2.4.1 you can use the <i>@XmlElement</i> annotation instead of <i>@XmlElementWrapper</i>.<br /><br />-BlaiseBlaise Doughanhttps://www.blogger.com/profile/02016807982653343777noreply@blogger.comtag:blogger.com,1999:blog-1710464868724994296.post-18141047088390223652013-04-02T03:47:25.927-04:002013-04-02T03:47:25.927-04:00Hi Blaise,
I play with MOXy since a few days and ...Hi Blaise,<br /><br />I play with MOXy since a few days and I have an issue with Map element that I didn't have before<br /><br />when my Object is marshaled/unmarshaled with JSON the element is OK but with XML I have an exception "JAXB can't handle interfaces"<br /><br />when I try the XmlElementWrapper annotation, the element is just null<br /><br />I use eclipselink 2.4.1<br />how can I recover my previous result without adapter or specific stuff?<br /><br />thanksjuliennoreply@blogger.com