Hi,

>How do I use xdoclet when I have a composed key? I tried the 
>following, but it does not work.
>
>/**
> * @ejb.bean name="OrderItem"
> *     jndi-name="OrderItemBean"
> *     type="CMP"
> *  primkey-field="orderID"
> *  primkey-field="itemID"
> *  schema="DistrilacteosOrderItem" 
> *  cmp-version="2.x"

put @ejb.pk-field tags on the fields that make up your pk.
leave out the primkey-field attribute on @ejb.bean. 

  Heiko
-- 
i.A. Heiko W. Rupp              EMail: [EMAIL PROTECTED]
Senior Consultant               Telefon: +49 711 222 992 - 900
Cellent AG Finance Solutions    Telefax: +49 711 222 992 - 999
Calwer Str. 33                  D-70173 Stuttgart


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to