marklogic / marklogic-rdf4j

Support for MarkLogic exposed inthe rdf4j idiom.
Other
5 stars 3 forks source link

Multi-statement transaction fails for files/inputstream #34

Closed akshaysonvane closed 6 years ago

akshaysonvane commented 6 years ago

As a consequence of PR https://github.com/marklogic/marklogic-rdf4j/pull/33 For a multi-statement transaction, if the file has multiple graphs in it or if we are passing multiple contexts to the method shown below conn.begin(); conn.add(<file/inputstream>, <baseURI>, <RDFFormat>, <contexts>); conn.commit(); the transaction will fail with the following error /graphs/sparql: Internal Server Error. Server Message: XDMP-SPQLUPDATESTMT: …………… Cannot execute multiple SPARQL Update statements with same-statement isolation

akshaysonvane commented 6 years ago

Closing as client-side parsing code has been moved to the feature branch https://github.com/marklogic/marklogic-rdf4j/tree/perf-clientside-parsing and develop is clean.