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.
Here we are using Eclipse indigo SR2 or Above and Oracle 10g XE or Above
Download Required Jar files
Jars Download Link 1
Jars Download Link 2
Jars Download Link 3
1:Right Click Over Project Explorer
New->Project
3:Type Project Name and click Next button
4:Click on finish button and click NO button on popup window
6: Right Click on your project and click on Properties
7: Properties->Java Build Path->Libraries->Add Library
then click next button
9:Click on User Library
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
C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib(Location of Jars)
16: View After Adding All Jar Files press ok
No comments:
Post a Comment