• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting up hibernate in eclipse

 
wong sheena
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, im new to hibernate . would like to ask where can i download and how to install in eclipse?

i try to download from this link

http://sourceforge.net/projects/hibernate/files/

and i downloaded this file

hibernate-distribution-3.5.5-Final-dist.zip

but when i try to unzip, the error is that certain files cannot be located at the path.


best regards...
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put together a little tutorial on configuring an environment for Hibernate 3.5.

Slingshot Yourself into Hibernate 3.5

But here are the key points:

Download the files.



"When you download this zip file, the hibernate3.jar file will be in the root folder of the download. The hibernate-jpa JAR file will be in a subfolder named jpa. The other JAR files, with the exception of slf4j-simple-1.5.8.jar, will be in a folder named required. "


People often miss the slf4j file:



My eclipse environment looked something like this:



Good luck!

-Cameron McKenzie






 
wong sheena
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your guide..

i'm trying to connect to microsoft 2005 express edition. do you know where i could get the connector?

i'm trying to download from this http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a737000d-68d0-4531-b65d-da0f2a735707&displaylang=en

thanks!
 
Klaas van Gelder
Ranch Hand
Posts: 111
Java Linux PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just got my copy of the book en encounter the same... I have downloaded the Hibernate 3.6.0. package.
As I understand it well, I should just include the hibernate3.jar and the jar files under the lib-required directory?
Althougn not particular Hibernate-specific, I always am in dubio whether to place the jarfiles within the project under a lib directory (where they can be included using Add JARs), or outside the Eclipse-workspace where theym ust be included using Add External JARs.
For now I opt for the external variant. Any thought about this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic