Book a Demo

Author Topic: Data type mapping with custom products not working  (Read 3241 times)

Peter Parslow

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Data type mapping with custom products not working
« on: March 19, 2011, 03:04:26 am »
I have a problem which is very similar to one in the forum from 2009, with the same title.

I've created a 'custom product' (TC211) with the range of data types I want to use in my logical model.

I've struggled through the unhelpful Datatype Map dialogue and created mappings from this product to Oracle. I can get the mappings I want to reappear there (e.g. CharacterString -> VARCHAR2(256), Boolean -> CHAR(1), GM_Point -> SDO_GEOMETRY, GM_Line -> SDO_GEOMETRY,...)

But when I run Model Transformation, it is pretty hit & miss. Some of the data types are changed, but many are not. In the end, it is easier to spend a few days going through class by class & changing them by hand! We're considering exporting to XMI & processing it externally (XSLT) & re-importing. That's not good for a CASE tool, especially as I try to 'sell it' to my developers. >:(

Is there something I'm missing?

I am using EA v8.0, Corporate Edition, build 856 - but I'm pretty sure the behaviour has been the same for several years. The repository is an EAP file.