* @ejb:pk
*               generate                                        =
"false"
*               class                                           =
"java.lang.String"

Put class parameter there.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of James Cook
> Sent: Saturday, March 09, 2002 8:59 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] Home not recognizing PK generation is off
> 
> Thanks for your quick responses. The tags are in the correct places. I
> have attached the bean class so you can see the full configuration.
> Primkey-class was Dim's suggestion.
> 
> Again, the source will not show the @ejb:pk-field tag, however I have
> tried it with and without this tag with the same results.
> 
> By BaseEntityBean superclass has all of its generates set to false.
> 
> jim
> 
> > -----Original Message-----
> > From: Ara Abrahamian [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 09, 2002 12:20 AM
> > To: 'James Cook'; [EMAIL PROTECTED]
> > Subject: RE: [Xdoclet-user] Home not recognizing PK generation is
off
> >
> >
> > >  * @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.
> >
> >
> >


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to