This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 1648
    
    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
 
Similar Threads
Can not save the foreign key in Spring form Select tag
InternalResourceViewResolver failing JUnit test -- Spring Demo Source
global-method-security in spring roo and @ PreAuthorized
org.hibernate.TransientObjectException: object references an unsaved transient instance
ibatis query problem