Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/META-INF
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20043/modules/ejb/src/META-INF

Modified Files:
        xtags.xml 
Log Message:
don't generate a primkey-field if only one tag is marked with ejb.pk-field 
because this breaks backward-compatibility and the samples (XDT-1139)

Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/ejb/src/META-INF/xtags.xml,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -r1.72 -r1.73
*** xtags.xml   9 Apr 2005 16:31:54 -0000       1.72
--- xtags.xml   10 Apr 2005 09:55:23 -0000      1.73
***************
*** 2090,2096 ****
          <usage-description>
            Use this for methods with the following pattern: public abstract 
Foo getX().
!           This will denote the persistent field "X" as a primary key field. 
If multiple 
!           fields have the this tag, a primary key class is generated which 
contains the
!           fields. Must be used with the persistent-field tag. This tag is 
only valid for 
            EntityBeans. It has no parameters.
          </usage-description>
--- 2090,2097 ----
          <usage-description>
            Use this for methods with the following pattern: public abstract 
Foo getX().
!           This will denote the persistent field "X" as a primary key field. 
The use of this
!           tag requires that a primary key class is generated using the 
entitypk subtask. 
!           A primary key class must be used even if only one persistent field 
is marked with the 
!           ejb.pk-field tag. Must be used with the persistent-field tag. This 
tag is only valid for 
            EntityBeans. It has no parameters.
          </usage-description>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to