m doing a migration from Neo4j 3 to 4, and Im stuck at the following problem:
Before, I had this line to create an embedded database:
service = new GraphDatabaseFactory().newEmbeddedDatabase(dir);
Now, I can't find a similar substitute for it.
What is the correct way to create a embedded database on Neo4j 4.0.2?