--安装 hibernate插件
•
安装
方法说明
(
hibernatetools-4.1.1.Final
)
:
–
Help
-->
Install New Software...
–
Click
Add
...
–
In dialog Add Site dialog, click
Archive...
–
Navigate to
hibernatetools-Update-4.1.1.Final_2013-12-08_01-06-33-B605.zip
and
click
Open
–
Clicking
OK
in the Add Site dialog will bring you back to the dialog'Install'
–
Select the
Jboss
Tools
hibernatetools
Nightly Build Update
Site
that has appeared
–
Click
Next
and then
Finish
–
Approve the license
–
Restart eclipse when that is
asked
--准备 Hibernate环境
•
导入
Hibernate
必须的
jar
包
:
•
•
加入数据库驱动的
jar
包:
--Hibernate开发步骤
hibernate.cfg.xml
News.hbm.xml
=====