SQL to UML diagram or graphic tool

∥☆過路亽.° 提交于 2019-12-21 05:34:12

问题


I have a database and want to output a UML Diagram. Is there software that does this?

Ideally it will be UML, but a graphics representation of the database could work.


回答1:


Boxes and arrows are all you need, but I'd recommend that you try E/R tools. They are similar to UML, but intended for relational databases. A good one can import and export SQL, which you won't get from a UML tool.

If you use MySQL, the MySQL Workbench does a very nice job, indeed.




回答2:


You can use Erwin Data Modeler, Embarcadero's ER Studio, or Microsoft's Visio. For a longer list visit this site http://www.databaseanswers.org/modelling_tools.htm.




回答3:


Enterprise Architect from Sparx Systems is a commercial UML modelling tool, with data(base) modelling facilities which include forward (to SQL) and reverse (from ODBC) schema engineering.

It supports most of the biggest databases, including Oracle, Sybase, MySQL, Access, SQL Server and PostgreSQL.




回答4:


I would recommend to use the Dali plugin of Eclipse. You just need a jdbc conncetor and can create java code from your database. From java code you then just reverse engineer the code into UML model in order to get class diagrams.



来源:https://stackoverflow.com/questions/7528118/sql-to-uml-diagram-or-graphic-tool

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!