【发布时间】:2016-08-16 11:48:18
【问题描述】:
我正在使用this 插件,以便我可以使用 tinkerpop 3.x 与 orient DB 交互。
我想知道如何创建不同的交易?
TitanDB 就像这样简单:
t1 = graph.newTransaction();
t2 = graph.newTransaction();
t3 = graph.newTransaction();
我用 OrientDB-Gremlin 尝试了以下操作:
t1 = graph.tx().createThreadedTx();
t2 = graph.tx().createThreadedTx();
并收到以下错误:
java.lang.UnsupportedOperationException: Graph does not support threaded transactions
这是否意味着获得不同事务的唯一方法是在不同线程的范围内打开它们?
【问题讨论】:
-
对于其他可能遇到此问题的人,我已使用 orient-db gremlin 插件 github.com/mpollmeier/orientdb-gremlin/issues/87
标签: orientdb gremlin tinkerpop3