Book a Demo

Author Topic: Advanced Oracle DDL  (Read 5955 times)

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Advanced Oracle DDL
« on: January 15, 2008, 04:11:24 am »
Hi,

Respecting to the physical model and DDL generation (Oracle):

First,

When creating a Sequence, the name is automatically assigned during the DDL generation, with the format:

TableName_ColumnName_SEQ

It could be usefull to be able to set manually the name in the "Column Properties" window of the Sequence.

Second,

The Trigger DDL generation always include the sentence "SHOW ERRORS". It should be an option.

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Advanced Oracle DDL
« Reply #1 on: January 15, 2008, 05:05:43 am »
In addition, neither I can adapt the value of the NOMAXVALUE, MINVALUE, NOCYCLE, NOCACHE and NOORDER values.

Is there any way to indicate these values? I'd tried with Tagged Values (of the Column with the sequence) but doesn't work.

Thanks,

Luis.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Advanced Oracle DDL
« Reply #2 on: January 15, 2008, 06:06:02 am »
Good points. Though some are Oracle-specific, there are similar settings for other engines. Some method - tags or whatever - needs to be introduced to handle these predictably, and if possible gracefully.
No, you can't have it!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Advanced Oracle DDL
« Reply #3 on: January 15, 2008, 07:35:11 am »
I think some of this think can be hacked with tags. I've done some hack with tag (for spesifying InnoDB I think) so maybe ther are others.
Any way, though all generic options should be added - only generic options should be added - I would like EA to turn to be an Oracle moduling tool, I need modeling tool with a module that suits all.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Advanced Oracle DDL
« Reply #4 on: January 15, 2008, 07:49:23 am »
Thanks for the comment.

You are right, Martin, for that reason I propose to make it by means of labels better than GUI dialogs with checkboxes, options...

EA now supports some specific tags for Oracle, and this only an extension of the same philosophy. The model should be independent of the DB implementation, But not the DDL generation, which is necessarily oriented to the technology.

Regards,