Database connection to Neo4j with Pentaho Spoon

放肆的年华 提交于 2019-12-24 15:11:29

问题


I want to connect to Neo4j with Pentaho Kettle Spoon. I downloaded jdbc driver of neo4j with this and I tried to use this guide to connect to neo4j with Pentaho Kettle Spoon.
I have two main problems:

  1. downloaded JDBC Driver is zip file.
    I changed Driver extension to jar for solving this problem.
  2. when I changed extension to jar and copy it in lib folder and follow this guide I faced missing driver error:

org.neo4j.jdbc.Driver could not be found

How can I solve these problems?


回答1:


You can not rename the .zip file you downloaded from Github and add to lib folder. You need to compile the source code and add the .jar file to it. Or you can download the already compiled file from here and add to the data-integration\lib folder and restart the spoon.


In Table Input step select

  • Connection type as Generic database
  • Custom connection URL as jdbc:neo4j://localhost:7474
  • Custom driver class name as org.neo4j.jdbc.Driver



回答2:


I put a connector for Neo4j on the PDI Marketplace, which adds "Neo4j" to the list of database sources so you don't have to configure a Generic Driver or download the driver from Neo4j.



来源:https://stackoverflow.com/questions/33052354/database-connection-to-neo4j-with-pentaho-spoon

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