Hi

I'm using a java.lang.Integer as primary key in my CMP's, but when I
generate a value object for my EJBs, the two following methods is wronly
generated:

   public void setId( java.lang.Integer id )
   {
          this.id = id;
          idHasBeenSet = true;

                 pk.setId(id);
   }

and:

   public void setPrimaryKey( java.lang.Integer pk )
   {
      // it's also nice to update PK object - just in case
      // somebody would ask for it later...
      this.pk = pk;
          setId( pk.id );
   }

There is no id field of the primary key since its a java.lang.Integer. Have
I done something wrong?

Best regards,
Jan





-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to