Hi All,
when using an Iterator from an execution result I sometimes never get a
return from the iterators .hasNext() method.
If I try to debug it by dumping the exectutionresult to a string then the
result is consumed so I never hit the the error.
Tiny snippet below.
Questions:
A) has anyone seem anything similar or have any idea why this is happening?
B) how to best debug & isnpect the contents of an executionresult when
faced but this type of issue?
Thanks if you can help,
try ( Transaction tx = db.beginTx() ) {
final Iterator<Path> paths = result.columnAs("p");
System.out.println(result.hashCode());
System.out.println("!!here - path");
while (paths.hasNext()){
System.out.println("!!here - IN path");
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.