Originally Posted by
habuma
Are you implementing the findAllConnections() method here? That's what it looks like based on the Cypher query you're using.
I'll admit that I'm less familiar with the Java-native Neo4j API, but it appears that ExecutionResult.columns() returns a list of String where each value is the *name* of the so-called column (column seems like a poor choice of words here, but that's what they call it) in the result set. That's probably not what you want. Instead, you probably want to call iterator() to get a Map<String,Object> of result objects for each match in the Cypher query. From that Map<String,Object> you pull values and use them to create a Connection object that you add to a List<Connection<?>>.