如何使用 Enterprise Architect 和 Oracle 数据库创建数据库图?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13870393/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to create a database diagram with Enterprise Architect and an Oracle database?
提问by jeph perro
I need to create a database diagram in Enterprise Architect.
我需要在 Enterprise Architect 中创建一个数据库图。
I understand how I can create each table and add the columns by hand. But that will take me a really long time.
我了解如何创建每个表并手动添加列。但这需要我很长时间。
The database is Oracle 11g and I use Oracle SQL Developer.
数据库是 Oracle 11g,我使用 Oracle SQL Developer。
Is there any way to export/import the database schema into Enterprise Architect ? I can't figure out how to create a connection to my database.
有什么方法可以将数据库模式导出/导入 Enterprise Architect 吗?我不知道如何创建到我的数据库的连接。
采纳答案by chimp
You need to have an ODBC connection to your database. Then you can select a package in the Project Browser, right-click > Code Engineering > Import DB schema from ODBC...
您需要与数据库建立 ODBC 连接。然后您可以在项目浏览器中选择一个包,右键单击 > 代码工程 > 从 ODBC 导入 DB 架构...