Question: how to create hbm.xml file in netbeans?
Answer: Right-click the Source Packages node in the Projects window and choose New > Other to open the New File wizard.
Select Hibernate Mapping Files and POJOs from a Database in the Hibernate category. ... 
Ensure that the hibernate.