Demystifying Neo4j With APOC and Java
summary
Shows how to add extended APOC JAR and enable JSON import/export via apoc.config, and wires Neo4j into Java with a wrapper class and a GET controller; demonstrates the difference between apoc.do.when vs apoc.when (do runs writes so breaks readOnly transactions), fixes a transactional error by removing the write variant, and profiles a query where switching to apoc.search.node cuts DB hits from 19 to 2. Advises avoiding APOC for trivial create/delete cases due to overhead.
AI-written summary · about
chapters (6)
- 0:00Introduction to Neo4j APOC
- 1:34APOC plugin configuration
- 4:04Handling unwind scenarios
- 8:50Read vs write transaction issues
- 10:13Query profiling with APOC
- 12:26When to avoid APOC
related talks
28mNeo4j for Beginners: Pros and Cons, Based on Social Networks
50mThinking in Relationships: Practical Graph Database Modelling in Java with Neo4j
29mTraversing from Zero to Production with Graphs
30mConnecting Java Applications over HTTP to Query API
52mWhat the Graph
31mPouring Coffee into the Matrix - Building Java Apps on Neo4j
26mHow NEO4J Saved my Relationship
25mPolyglot Persistence Unleashed
