新版的MyEclipse(比如MyEclipse2019)上面myeclipse菜单没有了,选择项目右键菜单myeclipse也没有了。
新的方式是:右键菜单------Configure Facets...,然后选择Install Hibernate Facets,下面一步一步按提示操作就行。

选择Hibernate版本,Finish即可。

下一步打开DB Browser配置相关数据库的连接。
window------show view------other------Database------DB Browser


新建Database Driver,例如:sqlserver

打开链接,选择要生成PO和配置文件的表或视图,右键菜单点击Hibernate Reverse Engineering...

在弹出面板中根据实际情况进行配置,Finish即可。
