-
Notifications
You must be signed in to change notification settings - Fork 38.5k
SpringBeanContainer
not called with Hibernate ORM 6.2
#30545
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
Hibernate should call |
@wilkinsona Thanks for your feedback! I'll first then check Hibernate if there isn't any already reported issue with that and otherwise will prepare some minimum project demo to reproduce the issue. |
You have to set |
I think It's better done in |
That's certainly worth considering. Thanks for the suggestion. I'll ask the Framework team. |
Just to hopefully reduce any potential confusion, as I understand it |
For anyone else stumbling upon this, wondering why their extensions are not loaded via the The implementation of HHH-16069 has a bug, as reported in HHH-16935, affecting Hibernate since version 6.2 and hence Spring Boot since version 3.1. At the time of writing there's no fix on Hibernate's side yet, as far as I could find anyway. The result of this bug is that when building an entity manager via the I cannot tell if |
@1dEraNCeSIv0 I've created hibernate/hibernate-orm#7049. |
SpringBeanContainer
not called with Hibernate ORM 6.2
It's merged into main branch by commit hibernate/hibernate-orm@f309a88, and not backported to 6.2.x and 6.3.x yet. |
Hello,
did something related to
ApplicationContextAware
behaviour change between Spring Boot 3.0.6 and 3.1.0? I have custom HibernateIdentifierGenerator
that also implementsApplicationContextAware
because it's POJO to access the spring context:This works fine with Spring Boot 3.0.6, but after upgrading to 3.1.0, the
ApplicationContext
is alwaysnull
.The text was updated successfully, but these errors were encountered: