Hi,
You have to specify all the other tables, otherwise middlegen will
generate code only for what you have specified.
On 15 Dec 2004 15:32, vivekvik wrote:
>After I added this many-to-many restraint, all the other tables in my
>schema (except groups and merchants) disappeared. The middlegen view
>now only shows 2 tables!! This is what my ant task looks like:
<table name="table_1"/>
<table name="table_2"/>
> <many2many>
> <tablea generate="true" name="MERCHANTS" />
> <jointable name="GROUPS_MERCHANTS" generate="false" />
> <tableb generate="true" name="GROUPS" />
> </many2many>
This way works for me. |