No. It generates the PK class but no reference to it
inside the bean class.
For example:
/**
* Returns the code
* @todo support OracleClob,OracleBlob on WLS
* @return the code
*/
public java.lang.String getCode( ) ;
The code is supposed to be the PK of this particular
entity. When I run the middlegen GUI it has a little
key beside this attribute.
Thanks for your help.
--- Aslak_Helles�y <[EMAIL PROTECTED]> wrote:
> Dos Santos wrote:
> > Hi! I'm having a problem with my generated entity
> > beans and their PK classes.
> >
> > The thing is that I specify in the GUI for the key
> > class to be a PK class. When I check the generated
> > code, it effectively creates the PK class but the
> > method that's supposed to get the primary key
> isn't
> > there. There's a "getter" method for the attribute
> > that represents the key but it's a String object
> > instead of being the corresponding PK class
> object.
> >
>
> XDoclet should generate that for you. Doesn't it?
>
> Aslak
>
> > I'd truly appreciate any help.
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync
> to Outlook(TM).
> > http://calendar.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > This SF.NET email is sponsored by: eBay
> > Great deals on office technology -- on eBay now!
> Click here:
> > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> > _______________________________________________
> > middlegen-user mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/middlegen-user
> >
>
>
>
>
-------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now!
> Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/middlegen-user
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user