SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-716
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Teon Metselaar
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Compass

Better support for cyclic relationships when using cascading

Created: 24/Sep/08 09:13 AM   Updated: 24/Sep/08 10:27 AM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: 2.1.0 RC

Environment: Spring 2.5 / Hibernate / Compass 2.1.0M4


 Description  « Hide
Currently, indexing a one-to-many relationship with searchablecomponents that are both cascading, fails in a java.lang.StackOverflowError.

Example:

Class Organisation {
@SearchableComponent(cascade={Cascade.CREATE,Cascade.SAVE})
Set<Product> products;
}

Class Product {
@SearchableComponent(cascade={Cascade.CREATE,Cascade.SAVE})
Organisation organisation;
}

(As posted in the forum #215698)

Is it possible to make this construction work?



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.