ahhh, yes. On Tue, 30 Oct 2001, Pelle Poluha wrote:
> * @ejb:pk class="java.lang.Integer" because you've specified the class as being Integer, XDoclet has realised there is no need to generate it. This behaviour is normal. Is there a problem with it? Note that the class property of @ejb:pk is optional. By default XDoclet will generate a pk named ReportPK (in your case). This will include fields for all the fields in your ejb class with @ejb:pk-field tags on them. >From this code: > /** > * Id of this Report. > * @ejb:pk-field > * @ejb:persistent-field > */ > public abstract Integer getId(); > public abstract void setId(Integer id); I assume that id is the pk, and so you have no need for a pk field, although many argue it is good practice to have a wrapper class from the start. Does your bean work and deploy ok? From what I can see it all looks ok to me. hth dim _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
