Neo4j 3.0 和 spring 数据

Neo4j 3.0 and spring data

我想使用新的 bolt 协议将我的 spring 应用程序连接到 neo4j 3.0 数据库。

bolt 协议是否已经在 spring 数据中实现?

是的,这些版本支持 Bolt:

Neo4j OGM 2.0.2,可与 SDN 4.1 一起使用。1.RELEASE(您需要明确包含此 Neo4j OGM 版本)。

或者当前SDN快照4.2.0.BUILD-SNAPSHOT依赖于最新的Neo4j OGM快照。

还需要 Bolt Driver 依赖项:

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

Bolt 驱动程序的配置记录在 http://neo4j.com/docs/ogm-manual/current/#_configuring_the_bolt_driver