How to Set Hibernate Environment for Eclipse with Oracle 10g Express Edition

Hibernate is Object Relational mapping (ORM) tool which is open source and distributed under the GNU Lesser General Public License.
It is mainly used to map the class object with the relational database.It also Provides data query and data retrieval  functionality.
In hibernate database schema is maintained by either xml file or using Annotations.

Download Required Jar files
Jars Download Link 1
Jars Download Link 2

1: Right Click Over Project Explorer  
New > Project


2: Select Java project then click on Next

3: Type Project Name and click Next button

4: Click on finish button and click NO button on popup window


5: Project Explorer Window After Crate of Java Project

6: Right Click on your project and click on Properties

7: Properties > Java Build Path > Libraries > Add Library

8: After click on Add Library go-to User Library then click next button.

9: Click on User Library

10: Click on New and give User Library Name and press OK.

11: Click on Add JARs

12: Go to Hibernate jars folder where all your downloaded jar files are located and click on open.


13: View After Adding Jars , click OK.


14: Select HibernateJars User Libraries Check-box and click Finish.

15: Now Adding External Jars for Oracle JDBC which are located on the following given link.
C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib


16: View After Adding All Jar Files press OK.

17: Final View of Project in Project Explorer After Adding All Jars

More Hibernate Topics :

No comments: