开发者

Is there any tool for automatically generate java classes with annotation style in hibernate?

I just have the db schema, and want to get the corresponding java classes for them in hibernate, and I do not want the hbm xml file style, so want to get the java classes with annotation generated automa开发者_Python百科tically, is there any tool for this job? Thanks a lot.


The reverse engineering module of Hibernate Tools for Eclipse and Ant can generate Java classes using EJB annotations. Can also be used from Maven (see the Hibernate3 Maven plugin).

NetBeans also has a reverse engineering module for Hibernate (that leverages the above one I believe).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜