java.jdbc

Transaction not rolled back on Throwable exception

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Major 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.

  1. 0001-Don-t-commit-transaction-in-case-of-exceptions.patch
    12/Jul/11 11:05 AM
    1 kB
    Sebastián Bernardo Galkin
  2. test-mechanism.patch
    04/Jul/11 12:23 AM
    4 kB
    Sebastián Bernardo Galkin

Activity

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: