jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/3] jena git commit: Need abort for safe direct loading of data.
Date Sat, 06 Feb 2016 16:14:37 GMT
Need abort for safe direct loading of data.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/315a713b
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/315a713b
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/315a713b

Branch: refs/heads/master
Commit: 315a713b05df9258ce3e6c72df025a2ad9dd9050
Parents: 334dd27
Author: Andy Seaborne <andy@apache.org>
Authored: Sat Feb 6 16:08:05 2016 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Sat Feb 6 16:08:05 2016 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/sparql/util/DatasetUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/315a713b/jena-arq/src/main/java/org/apache/jena/sparql/util/DatasetUtils.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/util/DatasetUtils.java b/jena-arq/src/main/java/org/apache/jena/sparql/util/DatasetUtils.java
index 56fcd60..c3e875e 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/util/DatasetUtils.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/util/DatasetUtils.java
@@ -115,7 +115,7 @@ public class DatasetUtils
      * @return Dataset, as passed in.
      */
     public static Dataset addInGraphs(Dataset ds, List<String> uriList, List<String>
namedSourceList, String baseURI) {
-        boolean transactionWrapper = ds.supportsTransactions() && !ds.isInTransaction();
+        boolean transactionWrapper = ds.supportsTransactionAbort() && !ds.isInTransaction();
         if ( !transactionWrapper ) {
             addInGraphsWorker(ds, uriList, namedSourceList, baseURI);
             return ds ;


Mime
View raw message