How to set up a Hibernate project with NetBeans IDE 1. D ...

searchcoilSoftware and s/w Development

Aug 15, 2012 (4 years and 11 months ago)

272 views


How
to set up a
Hibernate project with

NetBeans IDE



1.

D
ownload
and install
NetBeans IDE with Java SE support
http://download.netbeans.org/netbeans/6.0/final/

2.

D
ownload Hibernate libraries

(
C
ore, Annotations, Entity Manager, Tools
, HSQLD
)
http://karelsimek.info/HIB/lib.zip



3.

Create or open existing
NetBeans project

4.

When starting a new project

create a
new directory in

your <projectdir>

called


lib


and
copy all *.jar files from the lib.zip file you downloaded before

5.

Select “Libraries” icon and click “Add Library” and “Manage Libraries”, then create a
new library called Hibernate and add all *.jar files from the <projectdir>/lib directory.

6.

Add

Hibernate library to the project