The Hibernate API classes are required to integrate Hibernate with JDeveloper. Download the Hibernate 3.2 and Hibernate Extension 2.1.3 ZIP files from http://www.hibernate.org/ and extract the files to an installation directory, C:/Hibernate
. A hibernate-3.2
directory is created for the Hibernate 3.2 and a tools
directory is created for the extension classes. Also download Hibernate 2.1.6, which is required for the net.sf.hibernate.tool.hbm2java.Hbm2JavaTask
tool.
Extract the Hibernate 2.1.6 ZIP file to the C:/Hibernate
directory; hibernate 2.1.6 directory is created. Install the JDeveloper 10g IDE. Install the Oracle database 10g and create a database instance including the sample schemas.
Next, the Hibernate JAR files required to develop a Hibernate application will be integrated into a JDeveloper 10g project. First, select File | New in the JDeveloper IDE. In the New Gallery window, select General | Applications in the Categories listed and select Application in...