Is it possible to use Moxy With Hibernate?
And if so how do i install it, have tried to find documentation of it but found nothing.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is possible to use EclipseLink JAXB (MOXy) to map any POJOs to XML. As EclipseLink also offers a world class JPA implementation, we are very familiar with the needs of mapping POJOs used with object-relational mapping tools.
MOXy offers many extensions for mapping JPA entities including support for bidirectional relationships and composite keys:
EclipseLink is offered as both a JAR and as OSGi enabled bundles. The one you need will depend on your environment (can you provide additional details?):
MOXy is now the default JAXB provider in WebLogic 12c, so if you are using this environment there is nothing you need to do to install MOXy:
If you are using GlassFish, then the following article will help you with the setup (MOXy is be included in GlassFish starting in version 3.1.2):
UPDATE
To get just the MOXy piece of EclipseLink you can OSGi bundles (from the URL below):
And include the following bundles on your class path: