Eclipse中使用Hibernate-tools反向生成hibernate实体类
一.准备工作
1.Eclipse版本:Kepler Service Release 1。
二.安装hibernate-tools
1.点击help—>install new software
2.点击Add
3.在location中输入网址:http://download.jboss.org/jbosstools/updates/stable/或http://download.jboss.org/jbosstools/updates/stable/kepler/
在name下,找到JBoss Application Development 下拉,找到Hibernate-Tools,
勾选hibernate-tools
4.等待安装完成后重新启动hibernate-tools工具生成好了
二.生成hibernate实体类等
参照此网址:http://blog.sina.com.cn/s/blog_8adb05b7010182qb.html