Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
(transaction
(insert-values .....)
(throw (Throwable. "baaaaad")))
Reported by Sebastián Galkin on github.
Transactions rollback on Exception but not Throwable.
Attachments
Activity
Sebastián Bernardo Galkin
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | test-mechanism.patch [ 10269 ] |
Sean Corfield
made changes -
| Summary | Transaction not rolled back on exception | Transaction not rolled back on Throwable exception |
| Description |
(transaction
(insert-values .....) (throw (Throwable. "baaaaad"))) Reported by Sebastián Galkin on github. |
(transaction
(insert-values .....) (throw (Throwable. "baaaaad"))) Reported by Sebastián Galkin on github. Transactions rollback on Exception but not Throwable. |
Sebastián Bernardo Galkin
made changes -
| Attachment | 0001-Don-t-commit-transaction-in-case-of-exceptions.patch [ 10276 ] |
Sean Corfield
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Completed [ 1 ] |