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

Synchronization for updatable entity views within nested transaction doesn't work #1985

Open
beikov opened this issue Jan 16, 2025 · 0 comments
Labels

Comments

@beikov
Copy link
Member

beikov commented Jan 16, 2025

The SynchronizationRegistry associates one Synchronization (i.e. itself) with a transaction through the current thread, but since a transaction can be suspended to create a new one, this results in trouble, because nested transactions don't get a Synchronization registered. Ultimately, this leads to post-commit listeners not being triggered when a nested transaction commits, but rather when the parent transaction to which the SynchronizationRegistry was associated commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant