Skip to content

Where can I find documentation for Hibernate’s legacy hbm.xml mapping files?

I have joined a new team, and their project is using pretty much exclusively legacy-style Hibernate Mapping files (*.hbm.xml) for their Hibernate set-up. The current documentation pretty much seems to restrict itself to mention that Hibernate still supports hbm files and that they will take precedence over annotations.

Can someone please provide a link to documentation that mainly deals with Hibernate’s legacy Mapping Files? (Even older versions of the doc only seem to mention them in passing?)



Which version of Hibernate you use? I found documentation for XML mapping for version 3.3 under this link.

Hibernate Mapping doc