开发者

automate creation of hibernate domain classes for tables

I have an application that uses JPA(backed with hibernate) for handling persistence. The application can be extended to work with different databases to query the information from. What would like to do is provide an automated tool(a java module or ant script or similar) to generate the domain classes from the database schema. I know there exists hibernate reverse engineering tools, but I think it only works with an IDE(like eclipse). What I'm looking for is a tool that I can run from command line. Any hints to accomplish this will be greatly appreciat开发者_Go百科ed. Thank you.


(I guess this question may be a duplicate one. commandline equivalent to reverse engineering in Hibernate tools?)

Hibernate tools has ant tasks. Please check them.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜