Added by on 2013-07-05

1. Create a “User library”

  1. Using top menu click “Window” -> “Preferences” -> Type user -> “User Librairies” -> “New”
  2. Click “Add Jar” -> “DerbyClient.jar”
  3. Click “Add Jar” -> Select Hibernate Jars from downloaded Hibernate folder

2. Integrate “User library” with Eclipse

  1. Right-click the project -> “Properties” -> “Java Build path” -> “Libraries” tab -> “Add User library” -> “User Library”

3. Connect Hibernate to Database

  1. Create the file “hibernate.cfg.xml” (you can use your downloaded Hibernate folder located in /project/tutorials/web/src/main/src/main/resource/hibernate.cfg.xml)

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*