Hi,
Is there a way to validate the response obtain via Bolt using the 
neo4j-java-driver?

At the moment, I'm using the following approach:

StatementResult result = tx.run(...);
result.hasNext():

The hasNext method will generate an exception in case an error occured on 
the remote server (for example a unique constraint violation).

Is this the right approach?

Thanks,
Davide

-- 
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.

Reply via email to