I noticed by looking at the java source code of the orientdb-gremlin library that it seems to be only a wrapper that gets the gremlin commands and translates into orientdb SQL queries.
I am trying to use gremlin with orientdb in javascript (NodeJs) and for that I am using the gremlin
js library. I can connect fine to the gremlin server (I'm using the one shipped with OrientDB 3.0.14) but I could not yet make transactions work for two reasons:
1) gremlin
js library does not have the tx() method in the Graph object.
2) I thought: "I can add it there, but let me see first in gremlin console if OrientDB supports opening a transaction from gremlin server". So trying from the gremlin console does not seem to work either (remember that I don't want to use the orientdb-gremlin
plugin as in javascript I won't be able to use it):
gremlin> :remote connect tinkerpop.server conf/remote-secure.yaml
gremlin> :> g.tx().open()
gremlin> :> g.tx().isOpen()
This last command results in false
, so there is no transaction opened.
Is there any way to span an OrientDB 3.0.14 transaction through gremlin server?