Question: how to create hbm.xml file in eclipse?
Answer: Create a new Hibernate Mapping file: Click File > New . In the New wizard, locate Hibernate and then click Hibernate XML Mapping file (hbm. xml) .
Click Next .
In the New Hibernate XML Mapping files (hbm. xml) window: Click Add Class to add classes or click Add Packages to add packages.