I am getting below error while creating object for HibernateJpaVendorAdapter Class org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider does not implement the requested interface jakarta.persistence.spi.PersistenceProvider
In HibernateJpaVendorAdapter constructor jakarta.persistence.spi.persistenceProvider = new SpringHibernateJpaPersistenceProvider();
but SpringHibernateJpaPersistenceProvider class extends the org.hibernate.jpa.HibernatePersistenceProvider hence this issue.
This is happening in latest spring version.
Comment From: sdeleuze
Please double check you are using a compatible version of Hibernate and please provide a reproducer.
Comment From: mprasanna-raj
I tried with hibernate 6.1.6 It looks fine now.. thank you
Comment From: sbrannen
Thanks for the feedback, @mprasanna-raj.
Closing this issue as a result.
Comment From: wtprashant
I am getting this error -
Unsupported property type [com.example.demo.entity.Branch] for @CreationTimestamp or @UpdateTimestamp generator annotation
Comment From: snicoll
@wtprashant I don't see how that's related and this issue is closed anyway. Please ask questions on StackOverflow.