Andreas Langman
2002-04-09 09:41:33 UTC
Hello,
i have a Table "Aktivitaet"
it has two relationship fields to the same Table Uebergang
(Vorgaenger and Nachfolger)
Middlegen generates one relation with two target column maps instead of
two relations with one column map.
/**
* Returns a collection of local Uebergang
*
* @return a collection of local Uebergang
*
* @ejb:interface-method view-type="local"
*
* @ejb:relation
* name="f_uebergang-f_aktivitaet"
* role-name="f_aktivitaet-has-f_uebergang"
* target-ejb="Uebergang"
* target-role-name="f_uebergang-has-f_aktivitaet"
* target-multiple="yes"
*
*
* @weblogic:target-column-map
* foreign-key-column="AKTI_NACHFOLGER_ID"
* key-column="UEBE_ID"
* @weblogic:target-column-map
* foreign-key-column="AKTI_VORGAENGER_ID"
* key-column="UEBE_ID"
*
*/
i need the following
/**
* Returns a collection of local Uebergang
*
* @return a collection of local Uebergang
*
* @ejb:interface-method view-type="local"
*
* @ejb:relation
* name="f_uebergang-f_aktivitaet-AKTI_NACHFOLGER_ID"
* role-name="f_aktivitaet-has-f_uebergang-AKTI_NACHFOLGER_ID"
* target-ejb="Uebergang"
* target-role-name="f_uebergang-has-f_aktivitaet"
* target-multiple="yes"
*
*
* @weblogic:target-column-map
* foreign-key-column="AKTI_NACHFOLGER_ID"
* key-column="UEBE_ID"
*
*/
/**
* Returns a collection of local Uebergang
*
* @return a collection of local Uebergang
*
* @ejb:interface-method view-type="local"
*
* @ejb:relation
* name="f_uebergang-f_aktivitaet-AKTI_VORGAENGER_ID"
* role-name="f_aktivitaet-has-f_uebergang-AKTI_VORGAENGER_ID"
* target-ejb="Uebergang"
* target-role-name="f_uebergang-has-f_aktivitaet"
* target-multiple="yes"
*
*
* @weblogic:target-column-map
* foreign-key-column="AKTI_VORGAENGER_ID"
* key-column="UEBE_ID"
*
*/
i have a Table "Aktivitaet"
it has two relationship fields to the same Table Uebergang
(Vorgaenger and Nachfolger)
Middlegen generates one relation with two target column maps instead of
two relations with one column map.
/**
* Returns a collection of local Uebergang
*
* @return a collection of local Uebergang
*
* @ejb:interface-method view-type="local"
*
* @ejb:relation
* name="f_uebergang-f_aktivitaet"
* role-name="f_aktivitaet-has-f_uebergang"
* target-ejb="Uebergang"
* target-role-name="f_uebergang-has-f_aktivitaet"
* target-multiple="yes"
*
*
* @weblogic:target-column-map
* foreign-key-column="AKTI_NACHFOLGER_ID"
* key-column="UEBE_ID"
* @weblogic:target-column-map
* foreign-key-column="AKTI_VORGAENGER_ID"
* key-column="UEBE_ID"
*
*/
i need the following
/**
* Returns a collection of local Uebergang
*
* @return a collection of local Uebergang
*
* @ejb:interface-method view-type="local"
*
* @ejb:relation
* name="f_uebergang-f_aktivitaet-AKTI_NACHFOLGER_ID"
* role-name="f_aktivitaet-has-f_uebergang-AKTI_NACHFOLGER_ID"
* target-ejb="Uebergang"
* target-role-name="f_uebergang-has-f_aktivitaet"
* target-multiple="yes"
*
*
* @weblogic:target-column-map
* foreign-key-column="AKTI_NACHFOLGER_ID"
* key-column="UEBE_ID"
*
*/
/**
* Returns a collection of local Uebergang
*
* @return a collection of local Uebergang
*
* @ejb:interface-method view-type="local"
*
* @ejb:relation
* name="f_uebergang-f_aktivitaet-AKTI_VORGAENGER_ID"
* role-name="f_aktivitaet-has-f_uebergang-AKTI_VORGAENGER_ID"
* target-ejb="Uebergang"
* target-role-name="f_uebergang-has-f_aktivitaet"
* target-multiple="yes"
*
*
* @weblogic:target-column-map
* foreign-key-column="AKTI_VORGAENGER_ID"
* key-column="UEBE_ID"
*
*/