Book a Demo

Author Topic: DDL generation for multiple platforms  (Read 2754 times)

mstier

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
DDL generation for multiple platforms
« on: September 07, 2012, 06:49:28 pm »
Hi!

I'm currently designing a database model for an application which will support multiple RDBMSs (e.g. MSSql, MySQL and Oracle). I wonder how to generate the DDL scripts for those platforms from one model.
What is the best practice?

Best
Markus

The future is already there-
it just hasn't been delivered jet.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: DDL generation for multiple platforms
« Reply #1 on: September 07, 2012, 10:20:14 pm »
Markus,

I think you'll need to define MDA transforms for each platform, and then use the standard DDL generation to generate the database.

Geert

mstier

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: DDL generation for multiple platforms
« Reply #2 on: September 11, 2012, 06:48:09 pm »
Geert,

thanks for this pointer. I found an already existing transformation from a PIM to DDL but there is no option to choose the platform. Isn't this use case so common that there should be an appropriate transformation for the supported platforms?
Do you know how to customize the existing transformation to set a platform? I'm not familiar with transformations (yet).

Best
Markus
The future is already there-
it just hasn't been delivered jet.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: DDL generation for multiple platforms
« Reply #3 on: September 11, 2012, 06:51:14 pm »
Markus,

No sorry, I've never used used MDA or code/DDL generation in EA before.

Geert