Using Neo4j embedded in Java applications
This section describes how to use Neo4j embedded in Java applications.
The following topics are:
-
Resource iterator — Managing resources in long-running transactions.
-
Unique nodes — Getting or creating a unique node using Cypher and uniqueness constraints.
-
Bolt connector — Accessing Neo4j embedded via the Bolt protocol.
-
Terminate a transaction — How to terminate (abort) a long-running transaction from another thread.
-
Cypher queries — How to use the Cypher query language with Java.
When running your own code and Neo4j in the same JVM, there are a few things to keep in mind:
|