[英]Generating SQL from UML models?
How do I properly generate SQL from a UML data model? 如何从UML数据模型中正确生成SQL?
I have tried using "ArgoUML"; 我尝试过使用“ArgoUML”; and the custom version of ArgoUML called "DB_UML".
和ArgoUML的自定义版本称为“DB_UML”。
DB_UML generates SQL files with this content, for example; 例如,DB_UML使用此内容生成SQL文件; from: Books.xmi :
来自: Books.xmi :
Generate source failure.
生成源故障。 Database factory class {0} cannot be found.
找不到数据库工厂类{0}。
ArgoUML gives me no error, and additionally doesn't produce anything. ArgoUML没有给我任何错误,另外也没有产生任何错误。 Maybe you can give me a sample working schema file?
也许你可以给我一个样本工作模式文件?
Generated okay, but the association class was not generated anywhere. 生成好了,但关联类没有在任何地方生成。
Happy to use any other software on any platform which supports Oracle; 很高兴在任何支持Oracle的平台上使用任何其他软件; as long as I can get this UML->SQL functionality working.
只要我能够使这个UML-> SQL功能正常工作。
GenMyModel http://www.genmymodel.com/现在提供在线UML到SQL生成器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.