Hi,
While trying to write some test code I executed an update operation that inserted data, and appeared to work well. (Querying for the data showed that it was there). I subsequently removed it, so I could try the operation again.
Unfortunately, whenever I attempt to call execute on the UpdateQuery object, I am getting a OperatorException telling me: "Cannot open nested transactions". I don't have nested transactions, so I don't know what's going on.
The equivalent code here is:
ConnectionConfiguration config = ConnectionConfiguration.to("nr");
config.server("snarl://localhost");
Connection c = config.connect();
c.begin();
u.execute();
Wondering if I'd left things in some bad state, I closed my process, and restarted the Stardog server, but this changed nothing.
Have I done something that's obviously wrong please?
Thanks in advance.
Paul Gearon