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 #6545

Open
wants to merge 2 commits into
base: 3.9.x
Choose a base branch
from

Commits on Oct 21, 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 Oct 21, 2024
    Configuration menu
    Copy the full SHA
    4e2355d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3f30d2 View commit details
    Browse the repository at this point in the history