Details
Description
As outlined in SPR-16956 and SPR-16915, it is desirable for the Hibernate LocalSessionFactoryBean to be usable for JPA EntityManagerFactory setup as well: that is, in a first-class fashion with out-of-the-box integration with other JPA facilities such as @PersistenceContext injection, making it a replacement for LocalContainerEntityManagerFactoryBean for Hibernate JPA setup purposes. The same goes for HibernateTransactionManager which should work fine as a replacement for JpaTransactionManager in such a scenario, just with stronger Hibernate-specific behavior.
Attachments
Issue Links
- is related to
-
SPR-17189 Mention asynchronous JPA bootstrapping in the reference documentation
-
- Closed
-
-
SPR-17216 HibernateTransactionManager should lazily acquire JDBC Connection (like HibernateJpaDialect)
-
- Closed
-
-
SPR-17015 HibernateJpaDialect cannot translate JDBCException to custom DataAccessException
-
- Closed
-
- relates to
-
SPR-16303 Support for Hibernate ORM 5.3
-
- Closed
-
-
SPR-16305 Support Hibernate 5.3's ManagedBeanRegistry for dependency injection
-
- Closed
-
-
SPR-16915 Session from SessionFactory.getCurrentSession not synchronized with current JPA transaction on Hibernate 5.2
-
- Resolved
-
-
SPR-14455 Hibernate5 LocalSessionFactoryBean does not translate javax.persistence exceptions
-
- Closed
-
-
SPR-16956 Propagate read-only status to Hibernate Session through setDefaultReadOnly
-
- Closed
-