Neo4j 3.0 and spring data

2019-05-16 08:58发布

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条回答
可以哭但决不认输i
2楼-- · 2019-05-16 09:37

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

查看更多
登录 后发表回答