Github user ajs6f commented on the issue:

    https://github.com/apache/jena/pull/153
  
    We usually use `try-finally` for the transaction cycle, i.e.
    ```
    try {
        transactionalThing.begin(readWrite);
        //do some stuff
        transactionalThing.commit(); // if a write transaction
    }
    finally {
        transactionalThing.end();
    }
    ```
    Looking at `onThrowable` it looks like if the `Transactional txn` throws 
anything other than a `JenaTransactionException` out of `txn.abort()`, then 
`txn.end()` will never get called. Does that open a whole for `txn` to never 
actually finish aborting/ending?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to