Hibernate Tools is a handy tool for Java’s developers to generate tedious hibernate related stuffs like mapping files and annotation code. The common use case is the “reverse engineering” feature to generate Hibernate model class, hbm mapping file or annotation code from database tables.
Here’s a guide to show you how to install Hibernate / JBoss Tools in Eclipse IDE.
1. Know Your Eclipse & JBoss Tools Version To Download
First, you have to find out the correct version of Hibernate/JBoss tool for your Eclipse IDE. Go here –http://www.jboss.org/tools/download for the available combination version to download.
- If you are using Eclipse 3.6 / Helios , download JBoss Tools 3.2
- If you are using Eclipse 3.5 / Galileo, download JBoss Tools 3.1
2. Eclipse Update Site For JBoss Tools
Point to your correct version, right click to copy the Eclipse update site for JBoss tools. For Eclipse 3.6, the URL is ”http://download.jboss.org/jbosstools/updates/stable/helios/ ”
3. Install It
In Eclipse IDE, menu bar, select “Help” >> “Install New Software …” , put the Eclipse update site URL.
Type “hibernate” in the filter box, to list down the necessary components for Hibernate tools. Select all the “Hibernate Tools” components and click next to download.
4. Restart Eclipse
After the download progress is completed, restart Eclipse to take effect.
If Hibernate tools is installed properly, you are able to see the “Hibernate Perspective” in “Windows” >> “Open Perspective” >> “Others“.