-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi All,
To set the transaction-isolation level to NO COMMIT in a XML SQL document, I created the following XML:
<?xml version='1.0'?>
<myscript>
<sql>
<connect options='opt1' />
<options options='opt1' autocommit='off' commit='none' />
<query>
<![CDATA[
... Do a UPDATE/DELETE query an unjournaled object/member
]]>
</query>
<rowcount stmt='stmt1' />
</sql>
</myscript>
I got the error: Member <...> not journaled to journal *N. It looked like the option commit='none' did not work.
After doing lots of trying, the following XML worked for me:
<?xml version='1.0'?>
<myscript>
<sql>
<options options='opt1' commit='none' />
<connect options='opt1' />
<query>
<![CDATA[
... Do a UPDATE/DELETE query an unjournaled object/member
]]>
</query>
<rowcount stmt='stmt1' />
</sql>
</myscript>
I'd say there is a bug in parsing options in XML document and the developer guide http://yips.idevcloud.com/wiki/index.php/XMLService/XMLSERVICEQuick is not right.
- The must be declare before
- Does the order of attributes in <options ...> take into account?
Metadata
Metadata
Assignees
Labels
No labels