Skip to content

Conversation

@bighenry
Copy link
Contributor

Basic proxies were being created with a shared interceptor. As the interceptor is stateful, this lead to cross-thread data leakage and thus intermittently broken persistence.

This mod creates an interceptor per proxy, preventing leaking of state.

@bighenry bighenry force-pushed the fix/HHH-13915-unique-constraint-failure branch from ef18076 to f825960 Compare March 31, 2020 21:01
Basic proxies were being created with a shared interceptor.  As the interceptor is stateful, this lead to cross-thread data leakage and thus intermittently broken persistence.

This mod creates an interceptor per proxy, preventing leaking of state.
@bighenry bighenry force-pushed the fix/HHH-13915-unique-constraint-failure branch from f825960 to 59e5f1c Compare March 31, 2020 21:21
@bighenry
Copy link
Contributor Author

Note: formatting changes were the result of applying the Hibernate formatter in IntelliJ.

Base automatically changed from master to main March 19, 2021 16:00
@jrenaat
Copy link
Member

jrenaat commented Jan 10, 2025

Superseded by #9598, closing this.

@jrenaat jrenaat closed this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants