Generate Hibernate classes and hbm.xml through MyEclipse

Automatically generate Hibernate classes and hbm.xml in MyEclipse

Previously, I had always created classes against the created database tables by myself. The number of them was too much trouble, and it was easy to report errors if I didn't pay attention to them.

1. Open Open Perspective and select Database Explorer

2. On the DB Browser interface, right-click and select New

3. In New Database Connection Driver, fill in Driver name, Connection URL, User name, Password

https://jingyan.baidu.com/article/c85b7a64694bab003aac956c.html

Guess you like

Origin blog.csdn.net/wb_it_man/article/details/113246809