Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314150 - Embedded mapping cycle causes StackOverFlowError
Summary: Embedded mapping cycle causes StackOverFlowError
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 13:47 EDT by Karen Butzke CLA
Modified: 2011-07-01 16:24 EDT (History)
0 users

See Also:


Attachments

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