I tried this, using:

 * @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)

instead of 

... findByPrimaryKey(String pk)

method declaration?

BTW, no CategoryEntityBeanPK is generated.

jim


> -----Original Message-----
> From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] 
> try using
> 
> @ejb:bean primkey-class="java.lang.Integer" 
> primkey-field="the_field_that_is_the_pk"
> 
> and I'm guessing you might also have an @ejb:pk tag on some 
> of your getter methods...?
> 
> cheers
> dim
> 
> 



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

Reply via email to