Hibernate Tools Reference Guide

Preface
Hibernate Tools is a toolset for Hibernate 3 [http://www.hibernate.org/6.html] and related projects http://www.hibernate.org/27.html]. The tools provide Ant tasks and Eclipse plugins for performing reverse engineering, code generation, visualization and interaction with Hibernate.

Key Features
First, we propose to look through the list of key features that you can benefit from if you start using Hibernate Tools.

Other relevant resources on the topic
All JBoss Developer Studio/JBoss Tools documentation you can find here [http://www.jboss.com/products/devstudio/docs].

Download and install Hibernate Tools
Hibernate Tools can be used “standalone” via Ant 1.6.x or fully integrated into an Eclipse 3.3.x + WTP 2.x based IDE, such as JBoss Tools or a default Eclipse 3.3.x + WTP 2.x installation. The following describes the install steps in these environments.

JBoss Tools
JBoss Tools 2.x includes Hibernate Tools and thus nothing is required besides downloading [http://labs.jboss.com/tools/download/index.html] and installing JBoss Tools [../../GettingStartedGuide/html_single/index.html#JBossToolsInstall]. If you need to update to a newer version of the Hibernate Tools just follow the instructions in the Eclipse IDE section.

Eclipse IDE
To install into any Eclipse 3.3.x based Eclipse IDE you can either download the Hibernate Tools distribution from the Hibernate website [http://www.hibernate.org/6.html] or use the JBoss Tools Update Site [http://download.jboss.org/jbosstools/updates/stable/] (see also http://
tools.hibernate.org for links to the update site).

If you download the Hibernate Tools distribution you need to place the /plugins and /feature directory into your eclipse directory or eclipse extensions directory. Sometimes Eclipse does not automatically detect new plugins and thus the tools will not be activated. To ensure eclipse sees these changes just clean up the cached plugin information by running eclipse with the -clean option, e.g. eclipse -clean. Using the updatesite does not require any additional steps.

Ant
To use the tools via Ant you need the hibernate-tools.jar and associated libraries. The libraries are included in the distribution from the Hibernate website and the Eclipse updatesite. The libraries are located in the eclipse plugins directory at /plugins/org.hibernate.eclipse.x.x.x/lib/tools/. These libraries are 100% independent from the eclipse platform. How to use these via ant tasks are described in the Ant Tools chapter.

Right-click here to download PDF version

Incoming Search Terms : www schafkopf-spielen info

Share or Bookmark this post:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Leave a Reply

Incoming Search Terms : www schafkopf-spielen info