Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362060

Summary: @AttributeOverride with nested embeddables having attributes of the same name- table gen does not work
Product: z_Archived Reporter: Karen Butzke <karenfbutzke>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P2 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2011-10-26 09:10:11 EDT
Using the model in org.eclipse.persistence.testing.models.jpa.advanced that was created to fix bug 328114 I am not able to correctly generate tables. This is the Loot, Bag, Quantity, and Cost entities

The column JPA_LOOT.QTY_VALUE is not created

@Entity
@Table(name="JPA_LOOT")
public class Loot {
    @Id
    @GeneratedValue
    public int id;

    @Embedded
    @AttributeOverrides ({
       @AttributeOverride(name="quantity.value",column=@Column(name="QTY_VALUE")),
       @AttributeOverride(name="cost.value", column=@Column(name="COST_VALUE"))
    })    
    public Bag bag;
}
Comment 1 Tom Ware CLA 2011-11-09 13:53:05 EST
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:02:39 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink