Please give me answer that which extension i use for save the hibernate file and how i run that file as well as complie that file.
Naming convention for the hibernate file is className.hbm.xml. This is an xml file where you can map the class object to the database table. Another is the hibernate configuration file which can be named by following the naming convention i.e. hibernate.cfg.xml where information of the database engine is provided for making connection with the database.