-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate search on reverse relationships
PostPosted: Fri Jun 21, 2013 2:28 pm 
Newbie

Joined: Sun May 19, 2013 2:44 pm
Posts: 10
I have this table relationship.

A --> B --> C --> D --> C --> B --> A

Table D is a junction table which has the source and target and defines the relationships.

I've defined the relationships with @IndexedEmbedded from A through D which works perfect. To continue the relationship through the second A, how is the @IndexedEmbedded annotation be defined?


Top
 Profile  
 
 Post subject: Re: Hibernate search on reverse relationships
PostPosted: Sat Jun 22, 2013 12:35 pm 
Newbie

Joined: Sun May 19, 2013 2:44 pm
Posts: 10
When I declared the @IndexedEmbedded and @ContainedIn on the other side of the relationship, I get a circular reference exception.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.