Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=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: xdoclet-devel (Use for new issues) Reporter: Jim Typrowicz Created: Fri, 16 Jan 2004 3:54 PM Updated: Fri, 16 Jan 2004 3:54 PM 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
