Updating maven dependencies refreshing maven model

For this we will use our previous example in the post Hibernate, Maven and HSQL – Example Project (XML Mapping)) as base and convert it from XML Mapping to Annotation.

HSQL database is used to make the project simple, as we can use in-memory database and we would need only a JAR file to be included in our project.

This is used to generate the license page of the project's web site, as well as being taken into consideration in other reporting and validation.

The licenses listed for the project are that of the project itself, and not of dependencies.

If you are beginner for hibernate, please read the articles about introduction to hibernate, interceptors in hibernate and spring & hibernate integration.

We also recommend good reference books for learning hibernate in our post about hibernate books..

Then we updated the Hibernate configuration file and also deleted the hibernate mapping file.