Open “Java - Build Path - User Libraries” in the “Preferences” page, add a custom library “Hibernate 3” and add the following jars to it: | Hibernate Tutorial 02 Hibernate Basics By Gary Mak hibernatetutorials@ September 2006 1. Installing Hibernate Hibernate is a powerful Object Relational Mapping framework for developing Java applications. You can go to http and download Hibernate Core . After downloading the compressed hibernate distribution extract it to an arbitrary directory say C . 2. Configuring Eclipse . Creating Hibernate User Library Open Java - Build Path - User Libraries in the Preferences page add a custom library Hibernate 3 and add the following jars to it Hibernate_Install_Dir ar Hibernate_Install_Dir lib ar Hibernate_Install_Dir lib Hibernate_Install_Dir lib Hibernate_Install_Dir lib Hibernate_Install_Dir lib ar Hibernate_Install_Dir lib ar Hibernate_Install_Dir lib ar Hibernate_Install_Dir lib Hibernate_Install_Dir lib Hibernate_Install_Dir lib Then add this Hibernate 3 user library to your project build path. 3. Creating Mapping Definitions For the first step we ask Hibernate to retrieve and persist the book objects for us. For simplicity let s ignore the publisher and chapters at this moment. We create a XML file at the same package as our Book class. This file is called the Mapping Definition for the Book class. The book objects are called Persistent Objects or Entities for they can be persisted in database and represent the real world entities. Page 1 of 8 xml version encoding UTF-8 DOCTYPE hibernate-mapping PUBLIC - Hibernate Hibernate Mapping DTD EN http hibernate-mapping package class name Book table BOOK id name isbn type string column ISBN property name name type string column BOOK_NAME property name publishDate type date column PUBLISH_DATE property name price type int column PRICE class .