Message:

   The following issue has been re-assigned.

   Assignee: Matthias Germann (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-772

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-772
    Summary: Incorrect Value-object Constructor created when PK is of two or 
more fields
       Type: Bug

     Status: Open
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module

   Assignee: Matthias Germann
   Reporter: Jim Typrowicz

    Created: Fri, 16 Jan 2004 3:54 PM
    Updated: Sat, 12 Feb 2005 3:34 AM
Environment: Windows XP

Description:
I specified to create a value-object.

The primary key class is also generated.

The value object is created, but a constructor in the value object attempts to 
initialize the primary key by using just one of the primary key fields.  Thus 
the compiler complains.

In the example below the last line of the construtor attempts to initialize the 
PK class with just one of the primary keys, the affiliate, it's missing the 
other field of the primary key. 


public AffiliateBeanValue( java.lang.Integer dma,java.lang.String 
affiliate,java.lang.String network,java.lang.Integer 
localChannel,java.lang.Integer irdChannel )
   {
          this.dma = dma;
          dmaHasBeenSet = true;
          this.affiliate = affiliate;
          affiliateHasBeenSet = true;
          this.network = network;
          networkHasBeenSet = true;
          this.localChannel = localChannel;
          localChannelHasBeenSet = true;
          this.irdChannel = irdChannel;
          irdChannelHasBeenSet = true;
          pk = new com.directv.entity.lil.AffiliateBeanPK(this.getAffiliate());
   }


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to