We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fe88c0 commit e4738a9Copy full SHA for e4738a9
1 file changed
core/repository/sail/src/main/java/org/eclipse/rdf4j/repository/sail/SailUpdate.java
@@ -54,7 +54,7 @@ public void execute()
54
55
boolean localTransaction = false;
56
try {
57
- if (isLocalTransaction()) {
+ if (!getConnection().isActive()) {
58
localTransaction = true;
59
beginLocalTransaction();
60
}
@@ -92,12 +92,6 @@ public void execute()
92
93
94
95
- private boolean isLocalTransaction()
96
- throws RepositoryException
97
- {
98
- return !getConnection().isActive();
99
- }
100
-
101
private void beginLocalTransaction()
102
throws RepositoryException
103
{
0 commit comments