Closed
Description
Hi,
with version 6.0.4 and 6.0.5 a derived count query like
long countByLastname(String lastname);
throws an AopInvocationException:
org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type
The reason is an incorrectly generated cypher query:
MATCH ... WITH collect(id(n)) AS __sn__ RETURN __sn__
With version 6.0.3 (and before) the cypher query is generated correctly:
MATCH ... RETURN count(*)
BTW: Thanks a lot for the great work!