问题
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?
回答1:
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
来源:https://stackoverflow.com/questions/37296350/neo4j-3-0-and-spring-data