Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Neo4j 3.0 and spring data

I would like to use the new bolt protocol to connect my spring application to neo4j 3.0 database.

Is bolt protocol already implemented in spring data?

like image 241
aGO Avatar asked Mar 16 '26 20:03

aGO


1 Answers

Yes, these versions support Bolt:

Neo4j OGM 2.0.2, which can be used with SDN 4.1.1.RELEASE (you will need to explicitly include this Neo4j OGM version).

Or the current SDN snapshot 4.2.0.BUILD-SNAPSHOT which depends on the latest Neo4j OGM snapshot.

The Bolt Driver dependency is also required:

<dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j-ogm-bolt-driver</artifactId>
    <version>2.0.2</version>
</dependency>

Configuration for the Bolt driver is documented at http://neo4j.com/docs/ogm-manual/current/#_configuring_the_bolt_driver

like image 76
Luanne Avatar answered Mar 19 '26 09:03

Luanne