Setting up the Hibernate
1) Download Hibernate jars
2) Download and install any database and database drivers
3) Setting up the eclipse environment for Hibernate project
1)Download Hibernate jars
Go to http://www.hibernate.org/downloads and click on ReleaseBundle.Download the latest version(hibernate-distribution-3.6.4.Final)
unzip the downloaded folder and this folder will contains sub folders like documentation,lib,project,and hibernate jar.
02)Download and install any database and database drivers
Download any database (like postgresql , oracle etc…)from the web and install. And also download the corresponding jdbc drivers ( JDBC drivers are database specific).
03)Setting
up the eclipse environment for Hibernate project
01) Create a new Java project (Eg :
HibernateFirst)
using Eclipse IDE.
02) Add below jars to the buildpath of the
project
2.1) hibernate3.jar which is downloaded
in step1
2.2) All the jars present in lib/required
2.3) Jars present in jpa folder
2.4) Any one jar from byte code folder
03) Add
database driver to the buildpath
No comments:
Post a Comment