Customized DB Templates
A friend at an organization I used to work for needed to change the schema generation for DB2 databases in EA. The requirement they needed to fulfill was to have the construction of various DDL attributes be based on some meta-data properties. The idea was to have the meta-data properties stored as tagged values and then amend the existing templates to use these tagged values. My friend had a little bit of trouble accessing the tagged values in the templates and wondered what was going on. I had been looking at Model Transformation and Code Generation templates and had reasoned that all these, together with the DDL Generation templates, all used the same templating engine within EA. My first bit of advice was, to go look at the template substitutuon macros in the code generation templates and to try the relevant ones to get the tagged values out. On experimenting with these we found that they didn't work with the DDL generation. Having another look through the document