java - What is the difference between GraphDatabaseService or NeoService in neo4j -
I'm learning to use, but I'm a little confused about its usage. When I am adding nodes and relationships, I can do it like this:
I can also do this:
NeoService service neoService = new embedded neo ("C: / temporary / graphfib"); Transaction tx = neoService.beginTx (); Try {org.neo4j.api.core.Node node = neoService.createNode (); ...
What is the difference? Which one should I use? Why are they two different mechanisms? Is this just API development? :) I want to use Metamodal API and it needs a Neoze Service, so I think the option is clear.
Sorry, you must first use one because the namespace was transferred to the latest 1.0-RC1 I went. This is just naming, semantics are similar. The second example is old and should be removed as an official document.
Cheers,
/ peter neubauer
Comments
Post a Comment