Skip to content

Commit e6ca1cf

Browse files
committed
fixed typo
Signed-off-by: Jeen Broekstra <jeen.broekstra@gmail.com>
1 parent 3bf0c91 commit e6ca1cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/programming/03-repository-api.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ try(RepositoryConnection conn = repo.getConnection()) {
877877

878878
So far, we have shown individual operations on repositories: adding statements, removing them, etc. By default, each operation on a `RepositoryConnection` is immediately sent to the store and committed.
879879

880-
The {javadoc}repository/RepositoryConnect.html[RepositoryConnection interface] supports a full transactional mechanism that allows one to group modification operations together and treat them as a single update: before the transaction is committed, none of the operations in the transaction has taken effect, and after, they all take effect. If something goes wrong at any point during a transaction, it can be rolled back so that the state of the repository is the same as before the transaction started. Bundling update operations in a single transaction often also improves update performance compared to multiple smaller transactions.
880+
The {javadoc}repository/RepositoryConnection.html[RepositoryConnection interface] supports a full transactional mechanism that allows one to group modification operations together and treat them as a single update: before the transaction is committed, none of the operations in the transaction has taken effect, and after, they all take effect. If something goes wrong at any point during a transaction, it can be rolled back so that the state of the repository is the same as before the transaction started. Bundling update operations in a single transaction often also improves update performance compared to multiple smaller transactions.
881881

882882
We can indicate that we want to begin a transaction by using the `RepositoryConnection.begin()` method. In the following example, we use a connection to bundle two file addition operations in a single transaction:
883883

0 commit comments

Comments
 (0)