Transform « POJO « JPA Q&A





1. Transform .HBM model to annotated pojos    stackoverflow.com

We have our domain model declared in rusty old hbm files, we wish to move to POJOs annotated with the javax.persistence.* annotations. Has anyone had experience doing so? Are there ...

2. using Hibernate and dom4j, is it possible to transform a POJO into its XML representation (and vice versa) without DB?    stackoverflow.com

Is it possible to transform a POJO instance into its XML representation without storing it to DB and load it back again in DOM4J mode (and from XML to POJO)?