Hi,
I'm trying (with Dozer) to convert a JAXB DTO to a POJO (well, actually, to a JPA-annotated Hibernate entity before persisting it). The problem right now is that right now Dozer does not seem to convert elements from the JAXB JAXBElement<> type to the JAXBElement.getValue() type. So, for example, a JAXBElement s is translated to the POJO as JAXBElement, not java.lang.String. Property names are common; the JAXBElement wrapper is the only difference.
Is there an easy way to do this without writing a custom converter to handle JAXB->java type transition? It seems like a straightforward thing, so I feel I must be missing something. The Dozer FAQ mentions only POJO->JAXB, not the other way around...
Thanks for your help!