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

Bug 314150

Summary: Embedded mapping cycle causes StackOverFlowError
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 2.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2010-05-24 13:47:23 EDT
Bug 313766 fixed the simpler case of self-referential embeddeds/element collections. This bug is for the remaining case.

Also need to handle larger cycles like:

@Embeddable
public class Foo {
    @ElementCollection
    private List<Bar> bars;
}

@Embeddable
public class Bar{
    @ElementCollection
    private List<Foo> foos;
}
Comment 1 Neil Hauge CLA 2011-07-01 16:24:07 EDT
Moving JPA specific bugs to new JPA component in bugzilla.