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. > > >
CategoryEntityBean.java
Description: Binary data
