How To Install Hibernate / JBoss Tools In Eclipse IDE

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.

Hibernate Tools is bundled as the core component of JBoss Tools. So, after installed JBoss tools, you installed the Hibernate tools as well.

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 – for the available combination version to download.

For example,

  1. If you are using Eclipse 3.6 / Helios , download JBoss Tools 3.2
  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 ” ”

3. Install It

In Eclipse IDE, menu bar, select “Help” >> “Install New Software …” , put the Eclipse update site URL.

JBoss tools in Eclipse

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.

JBoss tools in Eclipse 2
Do not select all components, it will take much longer time download many unnecessary components. You want Hibernate tools only, not others.

4. Restart Eclipse

After the download progress is completed, restart Eclipse to take effect.

5. Verification

If Hibernate tools is installed properly, you are able to see the “Hibernate Perspective” in “Windows” >> “Open Perspective” >> “Others“.

Hibernate Perspective in Eclipse IDE
个人分类: Hibernate
想对作者说点什么? 我来说一句