Hi,

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?

Thank
Michele
 
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support

Reply via email to