User: rinkrank Date: 02/07/05 10:19:59 Modified: core/docs weblogic.html Log: Changed weblogic relations so that the @weblogic.column-map tag now has to be put on the fk side (and not the pk side as bafore). This breaks BWC, but it didn't work properly in the previous release either. Further, the taghandler is now smarter, so it discovers the pk column (as long as there is only one column iinvolved in the relationship). For more info see: http://sourceforge.net/mailarchive/forum.php?thread_id=864378&forum_id=1105 Revision Changes Path 1.28 +15 -15 xdoclet/core/docs/weblogic.html Index: weblogic.html =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/core/docs/weblogic.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -w -r1.27 -r1.28 --- weblogic.html 5 Jul 2002 00:38:24 -0000 1.27 +++ weblogic.html 5 Jul 2002 17:19:59 -0000 1.28 @@ -879,10 +879,11 @@ <H4><A NAME="column-map">@weblogic:column-map</A></H4> <P>(Applicable to CMP Entity Beans with CMR)</P> <P>Used in conjunction with the <A HREF="ejbdoclet.html#relation"><CODE>@ejb:relation</CODE></A> - tag. This tag should be put on the bean that corresponds to the primary key -side of the relation (For 1:M relations this corresponds to the 1-side of the + tag. This tag should be put on the bean that corresponds to the foreign key +side of the relation (For 1:N relations this corresponds to the N-side of the relation). If the -relationship is unidirectional from the fk side to the pk side, use the +relationship is unidirectional and the directionality goes from the pk side to the +fk side, use the @weblogic:target-column-map tag instead.</P> <TABLE BORDER="1" CELLPADDING="7" WIDTH="1265"> <TR> @@ -898,25 +899,26 @@ or may not be in the same table. The tables to which the column belong are implicit from the context in which the column-map element appears in the deployment descriptor.</TD> - <TD WIDTH="421">All relationships. Should be specified on Entity Beans which - correspond to the primary key side of the relation.</TD> + <TD WIDTH="421"> </TD> <TD WIDTH="67">Yes</TD> </TR> <TR> <TD WIDTH="184"><I>[key-column]</I>: String - <TD WIDTH="517">The key-column element is not specified if the + <TD WIDTH="517">This attribute only needs to be specified if there is more + than one column-map for one relation. + <p>The key-column element is not specified if the foreign-key-column<BR> - refers to a 'remote' bean.</TD> - <TD WIDTH="421">All relationships. Should be specified on Entity Beans which - correspond to the primary key side of the relation.</TD> + refers to a 'remote' bean.</p> + </TD> + <TD WIDTH="421"> </TD> <TD WIDTH="67">No</TD> </TR> </TABLE> <H4><A NAME="relation">@weblogic:target-column-map</A></H4> <P>(Applicable to CMP Entity Beans with CMR)</P> <P>Used in conjunction with the <A HREF="ejbdoclet.html#relation"><CODE>@ejb:relation</CODE></A> -tag. This tag should only be used for unidirectional relationships where the -navigability goes from the fk side towards the pk side (typically M->1 +tag. This tag should only be used for unidirectional relationships when the +directionality goes from the pk side to the fk side (typically 1->N relationships).</P> <TABLE BORDER="1" CELLPADDING="7" WIDTH="1265"> <TR> @@ -928,15 +930,13 @@ <TR> <TD WIDTH="184"><I>foreign-key-column</I>: String <TD WIDTH="517"> </TD> - <TD WIDTH="421">Unidirectional relationships. Should be specified on Entity - Beans which correspond to the foreign key side of the relation.</TD> + <TD WIDTH="421"> </TD> <TD WIDTH="67">Yes</TD> </TR> <TR> <TD WIDTH="184"><I>[key-column]</I>: String <TD WIDTH="517"> </TD> - <TD WIDTH="421">Unidirectional relationships. Should be specified on Entity - Beans which correspond to the foreign key side of the relation.</TD> + <TD WIDTH="421"> </TD> <TD WIDTH="67">No</TD> </TR> </TABLE>
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Bringing you mounds of caffeinated joy. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
