Head's Up! Site migration is underway. Phase 2: migrate recent content
β07-08-2020 06:34 AM
Hi guys,
I'm currently learning neo4j and trying to use APOC library in my java project. Specifically, I'd like to build a application that can use APOC's functionality to do batch update to my graph.
However, I don't know how to use APOC in Java. I have read this article:Using APOC Procedures on an Embedded Database from Java, but it seems like I'm using a "normal" deployment which is different from this topic holder.
So my question is:
Thank you so much!
Solved! Go to Solution.
β07-16-2020 12:33 AM
As you are connecting to a Neo4j server via the driver, you have to install APOC on the server.
And then you can just call them like any other Cypher statement.
If you have full control of your connection and data, in most cases you don't need the apoc procedures just call the appropriate Cypher instead. E.g. CREATE (n:Node {name:$name})
etc
β07-13-2020 12:59 AM
Can anybody help? There's no material I can find to walk me through.
β07-15-2020 02:13 PM
Does anything here help?
β07-16-2020 12:33 AM
As you are connecting to a Neo4j server via the driver, you have to install APOC on the server.
And then you can just call them like any other Cypher statement.
If you have full control of your connection and data, in most cases you don't need the apoc procedures just call the appropriate Cypher instead. E.g. CREATE (n:Node {name:$name})
etc
β07-16-2020 12:59 AM
Hi Michael,
Thank you very much for the answer, it worked!
All the sessions of the conference are now available online