-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Remove Shared EntityManager
's synthetic
setting to support bean post processing.
#2730
Comments
@christophstrobl Could you take a look? Especially at the referenced comment? That was on an AOT related change. |
@schauder will, do. might take some time though. |
I gave it a quick try without the |
Any update? |
@gregturn It's a regression block upgrading, could you resolve it ASAP? |
@christophstrobl Would you take a look? |
What's the decision? |
Removing |
Then it's safe to merge #2866. |
Merged to |
EntityManager
is synthetic
, preventing bean post processingEntityManager
's synthetic
setting to support bean post processing.
The
EntityManager
registered inJpaRepositoryConfigExtension
issynthetic
(which is new as of 3.0). Synthetic beans are not post-processed by Spring, in particular it is therefore no longer possible to apply AOP interceptors to it.See spring-projects/spring-boot#33510 and 1bfc359#r82897830 for details.
The text was updated successfully, but these errors were encountered: