OrientDB 没有创建边缘异常

OrientDB No edge created Execption

我目前在使用 OrientDB 2.1 时遇到 "No edge created" 异常

根据 CREATE EDGE 文档 (http://orientdb.com/docs/2.1/SQL-Create-Edge.html):

Beginning with version 2.1, when no edges are created OrientDB throws a OCommandExecutionException error. This makes it easier to integrate edge creation in transactions. In such cases, if the source or target vertices don't exist, it rolls back the transaction.

我想知道是否有某种方法可以 log/print 获取有关它试图在其间创建边的顶点的信息。我正在使用 JSON 文件从数据库中查询更新,并在 JSON 中使用转换器来创建边,使用 ID 作为查询结果的参数。谢谢

我通过添加 "log": "debug" 到 JSON 文件解决了获取顶点 ID 信息的问题。