[MarkLogic Dev General] batch inserts/updates
Lee, David
dlee at epocrates.com
Thu Sep 2 16:54:38 PDT 2010
To my knowledge, Autocommit does not work, its always autocommit.
Every transaction using XCC commits.
----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
dlee at epocrates.com <mailto:dlee at epocrates.com>
812-482-5224
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of sree lekha
Sent: Thursday, September 02, 2010 6:00 PM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] batch inserts/updates
Hi,
Is there a process using Xquery and xcc that we can do batch
inserts .
Just like the concept of prepared statement in Oracle ,Can we do
something with Marklogic .I am getting the error :
java.lang.UnsupportedOperationException: Multi-request
transactions not yet supported
at
com.marklogic.xcc.impl.SessionImpl.setAutoCommit(SessionImpl.java:95)
when I try to commit after say 100000 records .
Thanks
Sreelekha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20100902/15cf3fd5/attachment.html
More information about the General
mailing list