Please migrate from javax to jakarta to make hibernate search compatible with Spring 6

Description

I am trying to create a session with org.hibernate.search.mapper.orm.Search.session(entityManager). However i can't because the session method takes a javax.persistence.EntityManager whereas Spring/Hibernate 6 uses jakarta.persistence.EntityManager instead.

I've also noticed that hibernate search mapper still uses hibernate 5 as a dependency. This issue is preventing me from fully upgrading to spring 6, even though it has been available since november 2022. Could you please replace javax with jakarta and replace the hibernate 5 dependency with hibernate 6?

Activity

Show:

Yoann Rodière May 10, 2023 at 7:27 AM

Way ahead of you This is already available using separate Maven artifacts:

  • With ORM 5:

  • With ORM 6:

In the future, for questions, please use stackoverflow or our forums.

Closing.

Out of Date

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Created May 10, 2023 at 7:23 AM
Updated May 10, 2023 at 7:27 AM
Resolved May 10, 2023 at 7:27 AM