Java – how to export eclipse link objects to XML
•
Java
Is there an easy way to store my model that I use eclipse link in eclipse files?
I want to implement the export function in my program. I want to know if it can be done using eclipse link or any other framework
thank you
Solution
According to the complexity of the data model, using JAXB should be a relatively simple way to group (export) objects to XML You must annotate an entity with @ xmlrootelement or @ xmltype and fields with @ xmlelement or @ xmlattribute
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码