Registry / database / neo4j-java-driver

neo4j-java-driver

JSON →
library6.0.5javamavenunverified

The Neo4j Java Driver provides access to the Neo4j graph database using the Bolt protocol.

<dependency> <groupId>org.neo4j.driver</groupId> <artifactId>neo4j-java-driver</artifactId> <version>6.0.5</version> </dependency>
INSTALL
IMPORT
SIG · NEO4J-JAVA-DRIVER
N
neo4j-java-driver
databasejavav6.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Driver
org.neo4j.driver.Driver

Connect to Neo4j and run a simple Cypher query.

import org.neo4j.driver.Driver; import org.neo4j.driver.GraphDatabase; import org.neo4j.driver.Result; import org.neo4j.driver.Session; public class Example { public static void main(String[] args) { Driver driver = GraphDatabase.driver("bolt://localhost:7687"); try (Session session = driver.session()) { Result result = session.run("RETURN 'Hello, Neo4j!' AS greeting"); System.out.println(result.single().get("greeting").asString()); } driver.close(); } }
Debug
Known issues
gotchaDriver 6.x uses the reactive API by default; blocking API requires explicit configuration.
fix
Use `Config.builder().withFetchSize(1000).build()` for blocking behavior.
affects: >=6.0.0
Upgrade
Version history
6.0.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
neo4j-java-driver — mvn dependency:get neo4j-java-driver · libregistry