1、安装hibernate插件
在列表中选择:
JBoss Data Services Development
等待安装完成后重启sts。
2、安装Data Management
help ->install new software 界面中,work with:
http://download.eclipse.org/releases/kepler
根据步骤安装即可。
3、创建数据库链接:
window->show view->other…
右键,new…。选择目标数据库类型
创建连接参数
window->showview->other->
生成这个文件后,在里面设置生成哪些表
选择完成表后,保存配置文件的修改。
点击即可生成到指定目录