Question: how to create hibernate.cfg.xml in eclipse?
Answer: Create a new cfg. xml file: Click File ▸ New ▸ Other. ...  Click Next . In the Create Hibernate Configuration File (cfg. xml) window, select the target folder for the file and then click Next . In the Hibernate Configuration File (cfg. xml) window: ...  Click Finish . Figure 4.