I don't know of a tool that works from the hbm.xml files directly, but you can use OpenJPA's ReverseMappingTool to generate an orm.xml file and .java files for your entities (ignore these) based on the database.
There's a starting point in the manual http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_pc_reverse here . You probably don't need to worry about the customizer stuff, just run SchemaTool -a reflect > someFile.xml followed by ReverseMappingTool someFile.xml. Hope this helps, -mike -- View this message in context: http://openjpa.208410.n2.nabble.com/Are-there-any-tools-which-will-map-from-Hibernate-to-OpenJPA-XML-mapping-files-tp5286969p5288932.html Sent from the OpenJPA Users mailing list archive at Nabble.com.