Database Reference
In-Depth Information
Listing 10.2. Dependency tree of core Neo4j embedded library
Gaining access to an embedded Neo4j database
Assuming you have all of the appropriate dependencies available to your code, the next
listing details how to obtain a reference to an embedded database, and it also, being a re-
sponsible piece of code, provides a mechanism to ensure the database is shut down prop-
erly when the JVM exits.
 
Search WWH ::




Custom Search