Jim,

> I have defined the following fields in my bean class:
> 
> * @ejb:bean
>  * primkey-field =
> "java.lang.Integer"
>  * @ejb:pk
>  * generate =
> "false"
>  
> Yet the Home interface continues to generate this:
> 
>    public com.vxs.scrapbook.ejb.CategoryEntityRemote
> findByPrimaryKey(com.vxs.scrapbook.ejb.bean.CategoryEntityBeanPK pk)
>       throws java.rmi.RemoteException,javax.ejb.FinderException;
> 
> The specified pk class (CategoryEntityBeanPK) does not exist. I want it
> to use java.lang.Integer instead.

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