Author Topic: Import DDL Script (EA build 1701 BETA)  (Read 3760 times)

Romanus

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Import DDL Script (EA build 1701 BETA)
« on: July 05, 2024, 05:56:28 pm »
Import DDL Script (new functionality in Enterprise Architect 17) will create in the model only tables with type "table" and stereotype "PostgreSQL::table" (in my case).
PrimaryKeys and Foreign Keys are not created.
If the DDL script contains common DDL commands (COMMENT, ALTER, …), "Unexpected symbol 'COMMENT/ALTER/…'" errors are displayed, but tables not created.

Environment: EA 17.0.1701.64bit (OS Windows 11).

The issue was logged as bug report number 24077791.
Romanus

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1370
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Import DDL Script (EA build 1701 BETA)
« Reply #1 on: July 16, 2024, 05:37:39 pm »
I also get various errors from MySQL dumps, SQL Server backups, etc.
I'm waiting for the next build to run tests again. It'll be very useful when it works as users will no longer have to go through an ODBC config.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


otiscavin

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Import DDL Script (EA build 1701 BETA)
« Reply #2 on: May 12, 2025, 12:30:11 pm »
Import DDL Script (new functionality in Enterprise Architect 17) will create in the model only tables with type "table" and stereotype "PostgreSQL::table" (in my case).
PrimaryKeys and Foreign Keys are not created.
If the DDL script contains common DDL commands (COMMENT, ALTER, …), "Unexpected symbol 'COMMENT/ALTER/…'" errors are displayed, but tables not created.

Environment: EA 17.0.1701.64bit (OS Windows 11). Sprunki

The issue was logged as bug report number 24077791.

If direct import fails, create a database using the DDL script (e.g., in MySQL, SQL Server, or Oracle), set up an ODBC connection, and use EA’s Import DB Schema from ODBC feature to bring the schema into your model.