HIBERNATE  |  Register  | 
      SEARCH: 
   
News 
Features 
Documentation 
   Related Projects 
   External Documentation 
Download 
Forum & Mailinglists 
Support 
JIRA Issue Tracking
Wiki Community Area


JBoss.org



middlegen

JIRA Issue Tracking




      
Documentation > Getting Started

Getting Started

Day 1: Download and Install Hibernate

  1. Download Hibernate 2.1 and extract the archive
  1. place your JDBC driver jar file in the lib directory
  1. edit src/hibernate.properties, specifying correct values for your database
  1. from a command prompt in the install dir
    1. if you have Ant installed, type ant eg
    2. if not, type build eg under Windows
    3. the example should run successfully
  1. browse the sourcecode of the example in the eg directory
  1. edit hibernate.properties again, setting hibernate.show_sql=true
  1. run the example again, and look at the SQL statements Hibernate generates
  1. edit src/log4j.properties, setting the category net.sf.hibernate to debug and run the example a third time (you can use the Hibernate log to help during troubleshooting)
  1. look over these presentation slides and tutorials to get a feel for what Hibernate is really all about

Day 2: Read the Documentation

  1. Read one or two of the intro articles listed here. This one is a great start.
  1. Read the Hibernate Reference Documentation.
  1. Read the FAQ. (All of it!)

Day 3: Get Hibernate Running in Tomcat

  1. Download and install Tomcat
  1. Read the instructions.

Day 4: Start Coding!

      

coWiki web collaboration