Thanks for the help. I discovered the problem. I had included "primkey-field" under my @ejb.bean tag. Removing that allowed the generation of my primary key class.
Thanks. --- Marco Tedone <[EMAIL PROTECTED]> wrote: > I have the same as yours and to me is fine. > > My 2 cents, > > Marco > ----- Original Message ----- > From: "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, July 13, 2003 7:53 AM > Subject: [Xdoclet-user] How do I genereate the > primary key class? > > > > Ant: 1.5.3 > > XDoclet: 1.2b3 > > > > I am having problems generating the primary key > class. > > In my build.xml, I have: > > > > <entitypk/> > > > > In my class file, at the class level I have: > > > > ... > > * @ejb.pk > > > class="com.rynell.guestbook.interfaces.GuestBookPK" > > ... > > > > In my class file, at the method level I have: > > > > /** > > * ========================================== > > * CMP fields > > * ========================================== > > * > > * @ejb.interface-method > > * @ejb.persistence > > * column-name="id" > > * @ejb.pk-field > > * @ejb.transaction > > * type="Supports" > > * > > * @return test.MyTestPK > > */ > > public abstract Integer getId (); > > > > Is there something else I need to do to make it > > generate the primary key? > > > > TIA. > > > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > xdoclet-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
