Neo4j 3.0 and spring data

徘徊边缘 提交于 2019-12-22 11:09:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!