The ORM Foundation

Get the facts!

Control RDBMS Data Types During DDL Generation

Last post 07-20-2011 16:59 by ronmwhite. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-20-2011 16:59

    • ronmwhite
    • Top 75 Contributor
    • Joined on 05-02-2008
    • Phoenix, AZ
    • Posts 4

    Control RDBMS Data Types During DDL Generation

    Note that I am placing this post here for future reference as this is a FAQ that I do not see addressed in the current NORMA documentation stack. To change the default data types specific to your RDBMS you need to modify the XLST Stylesheet that is used during the generation process. At the time of this writing, that can be found in the following location (WinXP): "C:\Program Files\Common Files\Neumont\DIL\Transforms". Pick the Stylesheet of interestes, e.g., DDILtoOracle.xslt, and edit accordingly. For exmaple, if you want all BOOLEAN types in Oracles to render as "CHAR(1)", you would navigate to the entry for the BOOLEAN type and make the corresponding change from the default of "NCAHR(1)".
    Filed under: ,
Page 1 of 1 (1 items)
© 2008-2014 The ORM Foundation: A UK not-for-profit organisation -------------- Terms of Service