Before Hibernate can be used in an application, the library has to be installed and configured.
The Hibernate ORM can be downloaded from http://hibernate.org/orm/ as a zip file containing a collection of JAR files that have to be added to the classpath manually.
As Hibernate depends on a couple of other open source libraries, it is recommended to let a build tool like Maven or Gradle resolve the dependencies automatically by adding a dependency to the hibernate-core module of the build file.
The examples in this chapter refer to the Version 4.3.7.Final of Hibernate ORM.
Before Hibernate can be used, it has to be configured with the correct connection parameters and the ...