Book a Demo

Author Topic: Data Model: Oracle RAW (size)  (Read 2937 times)

mariec

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Data Model: Oracle RAW (size)
« on: April 12, 2005, 08:27:16 am »
Hi,

Is there a way to set the size of a RAW type field in a data model diagram?

The generated DDL never includes this type of information and Oracle requires a size for a RAW field.

Thanks

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Data Model: Oracle RAW (size)
« Reply #1 on: April 12, 2005, 08:54:29 am »
Hi,

try going to the menu Configuration > Database datatypes and modify the RAW definiton there (actually, you may have to delete it and create a new one).

Hope this helps!
Bruno

Quote
Hi,

Is there a way to set the size of a RAW type field in a data model diagram?

The generated DDL never includes this type of information and Oracle requires a size for a RAW field.

Thanks


mariec

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Data Model: Oracle RAW (size)
« Reply #2 on: April 12, 2005, 11:36:19 pm »
Thanks for the tip! I had to play around, the pre-defined datatypes can't be deleted so there are two options:

- play around with the "ddl_datatypes.xml" before you create your project

- create a new RAW datatype, delete it. This deletes both RAW types. Then recreate it again

I had to do with second option since my project was too advanced to start all over.

Thanks again

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Data Model: Oracle RAW (size)
« Reply #3 on: April 13, 2005, 06:00:55 am »
You're welcome! It might be worth reporting it to Sparx as a bug, too.

Bruno

Quote
Thanks for the tip! I had to play around, the pre-defined datatypes can't be deleted so there are two options:

- play around with the "ddl_datatypes.xml" before you create your project

- create a new RAW datatype, delete it. This deletes both RAW types. Then recreate it again

I had to do with second option since my project was too advanced to start all over.

Thanks again