使用Pentaho Spoon与Neo4j建立数据库连接 [英] Database connection to Neo4j with Pentaho Spoon

查看:776
本文介绍了使用Pentaho Spoon与Neo4j建立数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Pentaho水壶勺连接到Neo4j.我使用下载了neo4j的jdbc驱动程序,并尝试使用

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. 下载的JDBC驱动程序是zip文件.
    我将驱动程序扩展名更改为jar以解决此问题.
  2. 当我将扩展名更改为jar并将其复制到lib文件夹中,并按照本指南我遇到了驱动程序错误:
  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

org.neo4j.jdbc.Driver could not be found

我该如何解决这些问题?

How can I solve these problems?

推荐答案

您不能重命名从Github下载的.zip文件并添加到lib文件夹.您需要编译源代码并将.jar文件添加到其中. 或者,您可以从

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.


Table Input步骤中选择

  • 连接类型为Generic database
  • 自定义连接网址 为jdbc:neo4j://localhost:7474
  • 自定义驱动程序类名称为org.neo4j.jdbc.Driver
  • Connection type as Generic database
  • Custom connection URL as jdbc:neo4j://localhost:7474
  • Custom driver class name as org.neo4j.jdbc.Driver

这篇关于使用Pentaho Spoon与Neo4j建立数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆