The Hibernate mapping file contains entries like mapping the java class to the database table, the java class members variable with the database table column, etc. This file can also contain advanced OR mapping configurations like inheritance mapping, association mapping, etc.
Any XML filename can act as the hibernate mapping file. This filename is mentioned in the hibernate configuration file. There is no default filename for this file.
Hibernate Persistent class
This class is a POJO class and must be developed as a Java bean class. These class objects will be used by the client applications to develop objects based on the OR mapping persistence logic.
The client application is any application or component of the Java environment that wants to interact with the database. This client application uses Hibernate API to activate hibernate software and to develop hibernate persistent logic.