Our Hibernate-specific LocalSessionFactoryBean/Builder supports a setJtaTransactionManager method for deriving the Hibernate JtaPlatform from a given Spring JtaTransactionManager, as well as automatic configuration of a SpringBeanContainer for the current Spring BeanFactory. As of 7.0 where the corresponding Hibernate pieces are available within the org.springframework.orm.jpa package now, we can support this on HibernateJpaVendorAdapter as well (as an alternative to specifying corresponding JPA properties).