This content has been marked as final.
Show 1 reply
-
1. Re: xdoclet doesn't include <primkey-field> ???
guydaniel Feb 10, 2003 4:59 PM (in response to guydaniel)[Xdoclet-users] gave me the answer (for some reason not known to man I had an @ before the primkey-field tag element at the class level):
If you want xdoclet to generate a <primkey-field/> element you need to inform it at class level:
/**
* @ejb.bean
* primkey-field="id"
*/
and you don't need to use @ejb.pk-field in the pk getter.
Thanks to Marcus Brito and Adam Houghton.