I'm a newb to this so please be gentle.  8^)=

I have these tags:

 * @ejb:persistence             column-name="ID"
 * @ejb:pk-field
public abstract long getID();

and it generates the code:

   public UserPK getPrimaryKey() {
     UserPK pk = new 
UserPK(this.getID(),this.getPassword(),this.getName(),this.getEmail());
     return pk;
   }

I have beans that extend each other and that method won't compile because  the 
return type changes.  How do I tell it what PK object to use?  And why does 
it generate that when I tell xdoclet that the ID field is fetched with getID?

Thanks.
cheeser


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to