Spring 6.x compatability with Hibernate 5.6.x EntityManager #33129
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: invalid
An issue that we don't feel is valid
When attempting to use Hibernate 5.6 in an application that was migrated to Spring 6, I get an exception:
We have tried to use
hibernate-core-jakarta
as stated in the issue #31039.HibernateJpaVendorAdapter
is used in the application and the issue seems to be whereentityManagerFactory
is passed toJpaTransactionManager
:Since Spring 6, the jakarta namespace is used instead of javax and here the new jakarta classes are expected. Shouldn't
hibernate-core-jakarta
provide a way to use, for example, Hibernate 5.6 but with jakarta?The text was updated successfully, but these errors were encountered: