开发者

Spring Roo DBRE - can it generate roo commands

I have tried Spring Roo's Incremental Database Reverse Engineering (DBRE) where you point it at a database and it determines the schema. Now the information obtained from this is put into an xml file and used to build the Spring skeleton. I am wondering whether anyone has been able to get it to produce Spring Roo commands like what you type in to the roo shell? I'd like to take this and use it in a different project.

I don't r开发者_如何学编程eally expect this to work more than once - It doesn't need to round-trip.

Cheers

References: http://www.springsource.org/roo/guide?w=base-dbre


I don't know of any such functionality, I don't think Roo generates entity commands internally. Although you might not be aware of the --excludeTables and --includeTables parameters described in this issue.


I'm not aware of anyone having generated Roo commands from the dbre.xml file, but you could do this by writing and applying a suitable XSLT template. I used to do this with Torque XML schema files, on which the dbre.xml file is based, to generate database scripts and HTML documentation pages.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜