Setup Hibernate Environment

Setup Hibernate Environment
  • To work with hibernate framework we need to add .jar(s) files provided by that framework to our java application.
  • No framework is installable software, it means we doesn’t contain any setup.exe
  • When we download any framework, we will get a ‘zip’ file and we need to unzip it, to get the required jar files, actually all frameworks will follow same common principles like
    1. Framework will be in the form of a set of jar files, where one jar file acts as main (We can call this file as core) and remaining will acts as dependent jar files.
    2. Each Framework contain at least one configuration xml file, but multiple configuration files also allowed.
  • We can download hibernate jar files from the following links. Based on requirement we can download the corresponding version.
For version 2.x (
For version 3.x (
For version 4.x (
  • While downloading select .zip file for windows environment, select .tar flle for unix environment.
  • After downloading the zip file, unzip it and we can find the required jars in the extracted folder. If we consider 4.x version, we need the following jars to work with hibernate application.


Along with the hibernate jars we must include one more jar file, which is nothing but related to our database, this is depending on your database. For example, if we are working with Oracle we need to add ojdbc6.jar.

Setup Hibernate Environment
Scroll to top