The PK generator is based on the type of the accessor.  The templates
generate the "@ejb.pk-field" correctly, so everything should work just
fine...

> -----Original Message-----
> From: Wouter Zoons [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 12, 2003 7:12 PM
> To: Brian Topping
> Cc: Elijah Ogundimu; [EMAIL PROTECTED]
> Subject: Re: [Andromda-user] I want to make my PrimaryKey an integer
> 
> 
> just wondering, will XDoclet generate an appropriate primary key 
> generator in the xxxUtil.java files ?
> 
> Brian Topping wrote:
> 
> > Hi Femi,
> >  
> > The 2.1.1 sources do this.  Just change the type in the model as 
> > appropriate.  But you should probably use an Integer, not 
> an integer 
> > primitive.
> >  
> > -b
> >
> >     -----Original Message-----
> >     *From:* Elijah Ogundimu [mailto:[EMAIL PROTECTED]
> >     *Sent:* Friday, December 12, 2003 9:48 AM
> >     *To:* [EMAIL PROTECTED]
> >     *Subject:* [Andromda-user] I want to make my PrimaryKey 
> an integer
> >
> >     Hello,
> >      
> >     Pls I am trying to make the PrimaryKey for my Entities 
> an integer.
> >     I need help on what to do. I am a new user of the andromda tool
> >     and I need to get comfortable with it as soon as possible.
> >      
> >     Any help will be appreciated.
> >      
> >     Bye.
> >     Femi.
> >
> >     
> --------------------------------------------------------------
> ----------
> >     Do you Yahoo!?
> >     New Yahoo! Photos - easier uploading and sharing
> >     
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo.c
om>
>




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to