I am new to Moxy but I have been using Eclipselink and toplink grid for over 5 year.
We are trying to build config migration tool. My product uses ecliplink/toplinkgrid as an ORM framework.
So I have eclipselink ClassDescriptor with me. What I want to achieve is to covert ClassDescriptor to XMLDescriptor. I don't want to use any moxy XML configuration(s).
I have been seeing moxy examples but not able to understand. So basically I want to create moxy XMLClassDescriptor at SessionCustomizer phase.
That is, from ClassDescriptor get the DatabaseMapping(s) ( classDescriptor.getMappings()) and then create XMLMapping from them