> I'm testing the transactional properties of qizx and I execute the
> following
> piece of code;
>
> * StringBuilder replace = new StringBuilder("for $a in
> document(\"" +
> nameCollection + "/" + nameResource + "\")//elem ");
> replace.append("return replace node $a with
> <newElem>newElem</newElem>");
>
> library.setAutoCommitting(false);
> Expression exp = library.compileExpression(replace.toString());
> exp.evaluate();
> library.rollback();*
>
> I expected no changes in the database, because I used rollback but the
> updates are been applied.
>
> What am I doing wrong?
You are doing nothing wrong: I am afraid it is a bug in Qizx.
a spurious commit is called internally.
This is now fixed in our dev version.
The fix will be available in the 4.2 (end of March)
Apologies
--
Xavier Franc
Qizx design and development
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support