I want to generate XML Jaxb-classes (like here enter link description here) from hibernate mapping file (hbm.xml). So is there a chance to do that with the hibernate-Tool hbm2java or do you think, that I should simpler do that with XSLT?
I want to generate XML Jaxb-classes (like here enter link description here ) from
Share
Assuming you already have the POJOs that you are mapping with hibernate, then you can already use them with JAXB. JAXB is configuration by exception which means you only need to add annotations where you want the mapping behaviour to differ from the default.
For an Example