aspose file tools*
The moose likes Neo4j and the fly likes using In clause in @query spring neo4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Neo4j
Bookmark "using In clause in @query spring neo4j" Watch "using In clause in @query spring neo4j" New topic
Author

using In clause in @query spring neo4j

Amitosh Mishra
Ranch Hand

Joined: Feb 11, 2010
Posts: 49
Hi All,

can some one provide me some example for using cypher query with in clause.

i tried using like below(even tried to use array of String also).

but it always fails with below exception
this is working properly if i am trying to use single value as




Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1680
    
    7

Not sure but seems the in is not allowed in the where clause. Does something like this work (if you put the Spring part aside). rel1 and rel2 should be the relationships you want to follow.


Also it looks like you are using a pretty old version of cypher. You might consider upgrading.


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using In clause in @query spring neo4j