hibernate1

What is Hibernate mapping file?

Hibernate mapping file is used to map java object to the database table. We can have any number of mapping files in a project. Each hibernate mapping file must contain only one <id> tag (or relevant tag <composite-id>) <id> tag corresponds to either primary key or Non primary key. Hibernate need unique key to map […]