Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect transactional() handling when DB auto-rolled back the transaction (v4) #6546

Merged
merged 1 commit into from
Nov 5, 2024

Commits on Nov 5, 2024

  1. Fix incorrect transactional() handling when DB auto-rolled back the…

    … transaction
    
    Let's get rid of There's no active transaction exception which occurs e.g. when using deferred constraints so the violation is checked at the end of the transaction and not during it.
    
    - Do not rollback only on exceptions where we know the transaction is no longer active
    - Introduce TransactionRolledBack exception
    - Transform Oracle's "transaction rolled back" exception and use the underlying one that DBAL supports
    simPod committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    6061e27 View commit details
    Browse the repository at this point in the history