To my knowledge, Autocommit does not work, its always autocommit.

Every transaction using XCC commits.

 

 

----------------------------------------

David A. Lee

Senior Principal Software Engineer

Epocrates, Inc.

[email protected] <mailto:[email protected]> 

812-482-5224

 

 

 

From: [email protected]
[mailto:[email protected]] 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

 

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to