Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] JPA and MOXy

I've had my first attempt at using MOXy and have successfully generated a set 
of .java classes from an .xsd file which are full of @XML Annotations that I'm 
going to have to work on to understand.

Is it possible or even wise to add JPA @Entity annotations to my @XML 
annotated classes so I can persist the classes and vice versa back to XML, or 
would I be better off having a seperate set of @Entity classes and manually 
move the data from one set to  the other?

Regards


Back to the top