>  * @ejb:bean
>  *            primkey-class                           =
> "java.lang.String"
>  *            primkey-field                           = "categoryID"
>  * @ejb:pk
>  *            generate                                        =
> "false"
> 
> I have tried it with and without the @ejb:pk-field on my getter, and I
> still get the:
> 
> ... findByPrimaryKey(com.vxs.scrapbook.ejb.bean.CategoryEntityBeanPK
pk)

Make sure you placed the tags in correct places with correct parameters:

- @ejb:bean and ejb:pk are class level tag, don't put them on the
getter.
- There's no primkey-class parameter for ejb:bean, you should use
@ejb:pk class="String". See docs for these tags.

Ara.



_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to