I use Scala.

In my class Meeting, I have this relation:

@RelatedTo(`type` = "TO", direction = Direction.INCOMING)
  var _participants: java.util.Set[Participation] = _

Participation is another node entity, linked to Meeting with an outgoing 
relationship "TO".

What I do is a simple test crea



On Sunday, February 2, 2014 7:19:36 AM UTC+1, Michael Hunger wrote:
>
> Sorry, can you give an example. I don't understand. 
>
> template.fetch(entity.collection) should fetch the whole collections 
> content. 
>
> On Sun, Feb 2, 2014 at 3:53 AM, Michael Azerhad 
> <[email protected] <javascript:>> wrote: 
> > Hello, 
> > 
> > My question is pretty simple: 
> > May it be a normal scenario when neo4jTemplate.fetch returns ALWAYS the 
> > first collection's element?  (concerning a @RelatedTo collection's field 
> > without any @Fetch annotation) 
> > 
> > On the contrary, when @Fetch is placed, the whole collection is well 
> > retrieved. 
> > 
> > I did a workaround by rather use a Cypher Query (annotation in my 
> > repository) to load the collection, but I would like to know if this 
> > scenario could be explained. 
> > 
> > Thanks, 
> > 
> > Michael 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Neo4j" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to