JavaScud | Forum | JIRA | Blog |
  Dashboard > SpringSide > ... > SS20Newproject > HibernateTools
  SpringSide Log In View a printable version of the current page.  
  HibernateTools
Added by calvin, last edited by calvin on Sep 07, 2006
Labels: 
(None)

HibernateTools详细文档见http://www.hibernate.org/hib_docs/tools/reference/en/html/

在/tools/hibernatetools 下

1.修改hibernate.cfg 设定JDBC连接参数

2.修改reveng.xml 设定从数据库导出时的参数,如限制某些table不导出。
  见http://www.hibernate.org/hib_docs/tools/reference/en/html/reverseengineering.html

3.修改hibernatetool.properties 设定一些基本参数 如JDBC Driver的路径,生成的目录等。

4.双击build.bat,按提示输入相关参数,生成hbm 及 pojo  代码。

Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators