eclipse反向生成實體類的方法

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

 

以上文章參考網址http://www.07net01.com/linux/Eclipsefanxiangshengchenghibernateshitileidengdefangfa_579855_1378692512.html

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章