Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362060 - @AttributeOverride with nested embeddables having attributes of the same name- table gen does not work
Summary: @AttributeOverride with nested embeddables having attributes of the same name...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 09:10 EDT by Karen Butzke CLA
Modified: 2022-06-09 10:02 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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