Update of
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd/resources
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22508/modules/ejb/src/xdoclet/modules/ejb/dd/resources
Modified Files:
ejb-body.xdt
Log Message:
don't generate a compound primary key if only one cmp-field is marked with
ejb.primkey-field (XDT-1139)
Index: ejb-body.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd/resources/ejb-body.xdt,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** ejb-body.xdt 6 Apr 2005 21:48:49 -0000 1.38
--- ejb-body.xdt 9 Apr 2005 16:31:54 -0000 1.39
***************
*** 88,94 ****
</XDtEjbCmp:forAllCmpFields>
<XDtEjbCmp:ifEntityIsCmp>
! <XDtClass:ifHasClassTag tagName="ejb:bean" paramName="primkey-field"
superclasses="true">
! <primkey-field><XDtClass:classTagValue tagName="ejb:bean"
paramName="primkey-field" /></primkey-field>
! </XDtClass:ifHasClassTag>
</XDtEjbCmp:ifEntityIsCmp>
</XDtType:ifIsOfType>
--- 88,94 ----
</XDtEjbCmp:forAllCmpFields>
<XDtEjbCmp:ifEntityIsCmp>
! <XDtEjbPk:ifHasPrimkeyField>
! <primkey-field><XDtEjbPk:primkeyField/></primkey-field>
! </XDtEjbPk:ifHasPrimkeyField>
</XDtEjbCmp:ifEntityIsCmp>
</XDtType:ifIsOfType>
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel