0 votes

I can't add vendor specific information on a column level, only on a table level:

I added a custom cfg.xml with the following content:

            <struct name="Field" section="orm" help-text="" help-url="http://propelorm.org/reference/schema.html#column-attributes">
                <ordered name="vendors" help-text="Vendor information. Parameters affect the generated SQL." help-url="http://propelorm.org/reference/schema.html#adding-vendor-info">
                    <struct name="vendor" help-text="Vendor information. Parameters affect the generated SQL." help-url="http://propelorm.org/reference/schema.html#adding-vendor-info">
                        <attribute name="type" type="string" help-text="Vendor information. Parameters affect the generated SQL." />
                        <ordered name="parameters" help-text="Parameters affect the generated SQL." >
                            <struct name="parameter" >
                                <attribute name="name" type="string" help-text="Vendor info type" />
                                <attribute name="value" type="string" help-text="Vendor info value"/>
                            </struct>
                        </ordered>
                    </struct>
                </ordered>
            </struct>

But the output is only the following:

<column name="firstname" type="Varchar" size="32" vendors="##Unknown attribute type##"/>

We need this to set the collation on invidual fields: https://groups.google.com/forum/#!topic/propel-users/NAHeYiYMMgA

in Solved by (290 points)
recategorized by

Thanks for the detailed description. In this case, the structure of the vendors attribute is too complicated to be defined as a custom attribute in the cfg files only. It will require to modify the xslt files as well.

We will fix the transformations and add the vendors attribute to the ORM properties for columns.

1 Answer

0 votes
Best answer

This function was implemented in the version 3.0.0.1099, and released to public today.

From version 3.0, ORM Designer was renamed to Skipper. You can download Skipper from the official website:
www.skipper18.com/en/download

by Skipper developer (74.8k points)
selected by