It's not a secret anymore!*
The moose likes Spring and the fly likes annotations on entity class with spring oxm and jaxb for ArrayList Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "annotations on entity class with spring oxm and jaxb for ArrayList" Watch "annotations on entity class with spring oxm and jaxb for ArrayList" New topic
Author

annotations on entity class with spring oxm and jaxb for ArrayList

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278
Finally i mafe jaxb and oxm to work and marshall xml file for me.but xml formation is wrong.Probably it is wrong usage of annotations from me.
My class person can have many persons inside ( ie list of elements) ,this is nested tree .
But XMl generated is not correct and doesnt have closing tag.




 
It is sorta covered in the JavaRanch Style Guide.
 
subject: annotations on entity class with spring oxm and jaxb for ArrayList
 
Similar Threads
How to Serialize Maps?
Problem in inserting a foreign key
Rendering XML as a response of @RequestMapping
problem to unmarshal xml file who have element with prefix
Bean Creation Exception with Spring OXM and JAXB2