Closed
Description
Chris Cranford opened SPR-16305 and commented
Hibernate 5.3 introduces a new service contract called ManagedBeanRegistry
.
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/resource/beans/spi/ManagedBeanRegistry.java
This service contract would enable users of Spring to define Spring managed beans for various persistence objects such as Attribute Converters, Event Listeners, and Revision Listeners allowing Hibernate to lookup and use those beans as needed.
Issue Links:
- Support for Hibernate ORM 5.3 [SPR-16303] #20850 Support for Hibernate ORM 5.3 ("is depended on by")
- org.springframework.orm.hibernate5.SpringBeanContainer ignores the fallback bean instance producer [SPR-17010] #21548 org.springframework.orm.hibernate5.SpringBeanContainer ignores the fallback bean instance producer
- Support dependency injection in JPA AttributeConverter for EclipseLink [SPR-17159] #21696 Support dependency injection in JPA AttributeConverter for EclipseLink
- LocalSessionFactoryBean and HibernateTransactionManager for JPA EntityManagerFactory setup [SPR-17002] #21540 LocalSessionFactoryBean and HibernateTransactionManager for JPA EntityManagerFactory setup
- Propagate read-only status to Hibernate Session through setDefaultReadOnly [SPR-16956] #21494 Propagate read-only status to Hibernate Session through setDefaultReadOnly
- Apply Hibernate Integrator through LocalSessionFactoryBean [SPR-16828] #21368 Apply Hibernate Integrator through LocalSessionFactoryBean
- Hibernate 5: restore ability to inject "cacheRegionFactory" of LocalSessionFactoryBean [SPR-17043] #21581 Hibernate 5: restore ability to inject "cacheRegionFactory" of LocalSessionFactoryBean
Referenced from: commits 620e83c, c0d4cb5
2 votes, 4 watchers