SDN 4 Session.query doesn't work for @QueryResult
问题 In my SDN 4 project I have a @QueryResult POJO: @QueryResult public class WeightedDecision { private Decision decision; private double weight; public Decision getDecision() { return decision; } public void setDecision(Decision decision) { this.decision = decision; } public double getWeight() { return weight; } public void setWeight(double weight) { this.weight = weight; } } And a lot of Spring Data Neo4j repository methods that work fine with this WeightedDecision query result. Right now I'm