Compare dates with Spring Data neo4j
问题 When querying for relationships on a java.util.Date property, what syntax should I use? I tried just using a query like (this is just an example to show what I'm trying to do, so please don't pay attention to variable names there): @Query("start n1=node({0}) match n1-[r:TYPE]->n2 where r.dateCreated>={1} return r") Page<Relationship> findAll(Node node, long date, Pageable pager); But it throws the following error: Caused by: Don't know how to compare that. Left: 1339845862883; Right: