ericchile wrote:
emmanuel wrote:
Hibernate does not provide an XML -> POJO mapper but it provides an XML -> DB mapper. No need for an intermediate layer unless you need it in your application.
So my overall desire is to take xml files from a 3rd party, validate them and spit out errors, or import them into the database. Where did I miss this documentation on how to do this with hibernate?
Hibernate doesn't supply a XML Validating framework.
Chapter 19. XML mappings however does provide a means of taking XML and persisting it into the Database using Hibernate Mapping files. No POJO's required.
You should be aware that this functionality is still listed as experimental.