简体   繁体   English

java:读取/写入neo4j服务器数据库

[英]java : read/write neo4j server database

I want to connect to a remote neo4j database, so I put this as a server. 我想连接到远程neo4j数据库,因此我将其作为服务器。 Until now, I try to connect through jdbc, but the only jar I found has some issues. 到目前为止,我尝试通过jdbc连接,但是我发现的唯一jar存在一些问题。 The most important one : Each time I ask for the next resultset (resultset.next()), and there is not anymore, I got this message in my console : 最重要的一个:每当我要求下一个结果集(resultset.next())时,都不再有此消息了,我在控制台中收到了此消息:

Unexpected token END_ARRAY errors-next-token = FIELD_NAME null 意外令牌END_ARRAY错误-下一个令牌= FIELD_NAME null

Well, since I send something like 20 requests to server per second, It becomes easily horrible! 好吧,由于我每秒向服务器发送20个请求之类的消息,所以这很容易造成恐怖! Has anyone another solution to solve this problem (I'm 100% open minded!) 有谁能解决这个问题(我100%开放!)

Thanks a lot. 非常感谢。 Niko 尼科

This was a bug in neo4j-jdbc and has been fixed. 这是neo4j-jdbc中的错误,已得到修复。 Take a look at this github issue which exactly matches your case. 看看这个github问题 ,它完全符合您的情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM