我使用的是this插件,以便我可以使用tinkerpop 3.x与orient DB进行交互。使用OrientDB-Gremlin创建事务
我想知道如何创建不同的交易?
随着TitanDB它的那样简单:
t1 = graph.newTransaction();
t2 = graph.newTransaction();
t3 = graph.newTransaction();
我试着用OrientDB-精怪如下:
t1 = graph.tx().createThreadedTx();
t2 = graph.tx().createThreadedTx();
并收到以下错误:
java.lang.UnsupportedOperationException: Graph does not support threaded transactions
这是否意味着获得不同事务的唯一方法是在不同线程的范围内打开它们?
对于任何可能遇到此问题的人,我已经用orient-db gremlin插件提出了这个问题https://github.com/mpollmeier/orientdb-gremlin/issues/87 –