Book a Demo

Author Topic: Multiple database DDL support  (Read 2574 times)

nfg

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Multiple database DDL support
« on: November 02, 2005, 08:12:38 am »
Hi,

I've been evaluating EA for a little over a day now and it looks more than ample to handle what I can throw at it. What I would like to know however, is if it is possible to model a database schema and generate DDL for it for different databases (MS SQL & PostgreSQL) from the same models?

In the current package I am using, I have to keep two models in sync and this is quite error prone.

Regards.

thomaskilian

  • Guest
Re: Multiple database DDL support
« Reply #1 on: November 02, 2005, 10:06:59 am »
You could make use of EA's model transformation feature. You have to maintain the PIM and make changes to that. Then you can promote these to different database models.
What is the reason for having two database models?

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: Multiple database DDL support
« Reply #2 on: November 02, 2005, 12:58:43 pm »
Or you could use the "Reset DBMS Options" feature.

From the package context menu, select Code Engineering | Reset DBMS Options...

nfg

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Multiple database DDL support
« Reply #3 on: November 02, 2005, 10:46:40 pm »
Thanks for the suggestions. I will look into them today  :)

The project I'm working on is EJB based and we have two target platforms for it (Windows/MS SQL Server and Linux/PostgreSQL), hence the need to be able to generate DDL for two different SQL dialects from a single model.