Neo4j 3.0和Spring数据 [英] Neo4j 3.0 and spring data
问题描述
我想使用新的bolt协议将spring应用程序连接到neo4j 3.0数据库.
I would like to use the new bolt protocol to connect my spring application to neo4j 3.0 database.
spring数据中已经实现了bolt协议吗?
Is bolt protocol already implemented in spring data?
推荐答案
是的,这些版本支持Bolt:
Yes, these versions support Bolt:
Neo4j OGM 2.0.2,可与SDN 4.1.1.RELEASE一起使用(您需要明确包含此Neo4j OGM版本).
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).
或者取决于最新的Neo4j OGM快照的当前SDN快照4.2.0.BUILD-SNAPSHOT.
Or the current SDN snapshot 4.2.0.BUILD-SNAPSHOT which depends on the latest Neo4j OGM snapshot.
还需要Bolt Driver依赖项:
The Bolt Driver dependency is also required:
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-bolt-driver</artifactId>
<version>2.0.2</version>
</dependency>
有关Bolt驱动程序的配置,请参见> http://neo4j.com/docs/ogm-manual/当前/#_ configuring_the_bolt_driver
Configuration for the Bolt driver is documented at http://neo4j.com/docs/ogm-manual/current/#_configuring_the_bolt_driver
这篇关于Neo4j 3.0和Spring数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!