2

How do I properly generate SQL from a UML data model?

Attempt with ArgoUML

I have tried using "ArgoUML"; and the custom version of ArgoUML called "DB_UML".

DB_UML generates SQL files with this content, for example; from: Books.xmi:

Generate source failure. Database factory class {0} cannot be found.

ArgoUML gives me no error, and additionally doesn't produce anything. Maybe you can give me a sample working schema file?

Attempt with Enterprise Architect

Generated okay, but the association class was not generated anywhere.


Happy to use any other software on any platform which supports Oracle; as long as I can get this UML->SQL functionality working.

Community
  • 1
  • 1
Foo Stack
  • 2,185
  • 7
  • 24
  • 25
  • http://www.visual-paradigm.com/product/vpuml/tutorials/dbdesigntools.jsp Never tried the plugin though. Comes with a free trial. Oracle JDeveloper could also be worth a look. – LMeyer May 30 '13 at 17:28

1 Answers1

3

GenMyModel http://www.genmymodel.com/ is now providing an online UML to SQL generator.

Xaelis
  • 1,609
  • 10
  • 17