开发者

HIbernate - HBM.xml Automatic generation from DB Schema

开发者 https://www.devze.com 2022-12-17 00:16 出处:网络
Is there any plugin ava开发者_如何学Pythonilable for Eclipse or Netbeans or any other IDE which can help me generate the hbm.xml by directly reading the schema from the database.

Is there any plugin ava开发者_如何学Pythonilable for Eclipse or Netbeans or any other IDE which can help me generate the hbm.xml by directly reading the schema from the database.

Writing those XMLs seem to be unnecessary waste of time, and feel it should be automated.


For NetBeans, have a look at Using Hibernate in a Web Application.

For Eclipse, use the Hibernate Tools plugin. Here is a tutorial demonstrating how to use its Reverse Engineering feature.


Hibernate Synchronizer can help also.


Hibernate Tools includes all sorts of tools for doing hbm and class conversions.

0

精彩评论

暂无评论...
验证码 换一张
取 消