eclipse,我使用的版本是neon3sql
选择OK数据库
在data source Explorer的Database Connections 选择Neweclipse
填写好General的链接信息sqlserver
新建New Driver Definition测试
填写完选择OKhibernate
选择刚才的Drivers3d
Test Connetion测试code
Next而后Finshserver
就这样,成功链接了刚才的hibernatedb那个数据库xml
在show view 添加,选择OK
选择Add Configuration
选择工程项目名,和数据库链接选择刚才配置的数据库链接
直接OK
查看
而后选择Customize Perspective
选择图里那个Hibernate code generation,而后OK
选择颜色那个
选择out的路径和Package包
reveng.xml选项进行Setup,而后Create new…
保存路径设置,而后Next
Refresh
把3个表Include进去,而后Finsh
选择Apply ,而后Run