Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Setting the Environment


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...