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 tools that we could employ?
You could use hbm2java ant task from hibernate-tools.jar. This is a tool known as Hibernate Tool. hbm2java will generate JPA annotated POJOS from hbm files.
See http://www.hibernate.org/hib_docs/tools/reference/en/html/ant.html