在STS中怎么安装hibernate的集成开发包JBoos tools

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.

Note
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 –http://www.jboss.org/tools/download 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 ”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.

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
Warning
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值