-
Notifications
You must be signed in to change notification settings - Fork 41.2k
HibernateJpaAutoConfiguration does not back off despite LocalContainerEntityManagerFactory beans being declared manually #5542
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
Comments
That said, the |
Yeah, I've seen |
An interesting side-effect of isolating the auto-configuration of the |
This turns out to be not so easy. We'll need a bit more time to play with some ideas so it's unlikely to make 1.4. |
If you remove the manual exclusion for the
HibernateJpaAutoConfiguration
here the application bootstrap will blow up trying to apply the auto configuration and failing to wire the uniqueDataSource
expected to be present. I wonder why the configuration is getting applied in the first place, as I would've expected the manual declarations ofLocalContainerEntityManagerFactoryBean
s here and here to disable the auto-configuration in the first place.The text was updated successfully, but these errors were encountered: