diff --git a/pom.xml b/pom.xml index 13aa9c3..82674ef 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.openrdf.sesame sesame-spring - 2.6.10 + 2.7.3 ${project.artifactId} @@ -90,7 +90,6 @@ org.openrdf.sesame sesame-repository-sail ${sesame.version} - test org.openrdf.sesame diff --git a/src/main/java/org/openrdf/spring/RepositoryConnectionFactory.java b/src/main/java/org/openrdf/spring/RepositoryConnectionFactory.java index b562a61..6342360 100644 --- a/src/main/java/org/openrdf/spring/RepositoryConnectionFactory.java +++ b/src/main/java/org/openrdf/spring/RepositoryConnectionFactory.java @@ -98,7 +98,7 @@ public void closeConnection() { @Override public SesameTransactionObject createTransaction() throws RepositoryException { RepositoryConnection connection = repository.getConnection(); - connection.setAutoCommit(false); + connection.begin(); SesameTransactionObject sesameTransactionObject = new SesameTransactionObject(connection); localTransactionObject.set(sesameTransactionObject);