7 Aug
2013
7 Aug
'13
12:05 a.m.
Hi Christoph, two little observations that might help you to improve your queries:
new ClientQuery(xQueryUpdate, SESSION, SESSION.getOutputStream()).close();
You need to execute your query, otherwise, this will be a no-op operation: ClientQuery cq = SESSION.query(xQueryUpdate); cq.execute(); cq.close();
// System.out.println(new XQuery(xQueryUpdate).execute(CONTEXT));
In this line, you are a circumventing the client/server context, which could lead to your error message. If you manage to create a minimized example, that’d be helpful. Best, Christian