Where can I find neo4j jdbc driver? [closed]

冷暖自知 提交于 2019-12-11 05:41:22

问题


The official neo4j page has a mention to a jdbc driver test (here). But the jdbc link appear to be broken.

Someone knows where can I find a jdbc driver (jar file) to neo4j?


回答1:


2.1.4 is the latest in the maven repository: https://maven-repository.com/artifact/org.neo4j/neo4j-jdbc

Download from https://maven-repository.com/artifact/org.neo4j/neo4j-jdbc or use as a maven dependency:

<dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j-jdbc</artifactId>
    <version>2.1.4</version>
</dependency

FYI this version works fine with Neo4j 2.1.5 (I'm using it), but have not tried it against 2.1.6

Update for Neo4j 2.3

Snapshot available:

     <dependency>
          <groupId>org.neo4j</groupId>
          <artifactId>neo4j-jdbc</artifactId>
          <version>2.3-SNAPSHOT</version>
     </dependency>

     <repository>
          <id>neo4j-public</id>
          <url>http://m2.neo4j.org/content/groups/public</url>
          <releases>
              <enabled>true</enabled>
              <checksumPolicy>warn</checksumPolicy>
          </releases>
     </repository>



回答2:


I ended up using this dependency to solve this:

    <dependency>
        <groupId>org.neo4j</groupId>
        <artifactId>neo4j-jdbc</artifactId>
        <version>2.0.1-SNAPSHOT-jar-with</version>
        <classifier>dependencies</classifier>
    </dependency>

Note that it does appear to be an older version of neo4j though.




回答3:


2.1.4 version does work but also add the repository in the pom.xml

    <dependency>
        <groupId>org.neo4j</groupId>
        <artifactId>neo4j-jdbc</artifactId>
        <version>2.1.4</version>
    </dependency>

    <repositories>
        <repository>
            <id>neo4j-public</id>
            <url>http://m2.neo4j.org/content/groups/public</url>
            <releases>
                <enabled>true</enabled>
                <checksumPolicy>warn</checksumPolicy>
            </releases>
        </repository>
    </repositories>



回答4:


This is the direct Neo4j JDBC driver page to download

https://github.com/neo4j-contrib/neo4j-jdbc/releases



来源:https://stackoverflow.com/questions/27808257/where-can-i-find-neo4j-jdbc-driver

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