Hibernate 6.6 supports Jakarta Data 1.0 and utilizes Hibernate modelgen tools to generate the Repository implementation source codes at Java compile time. It is a good match with Spring AOT, no need to transform the Jakarta Data related facilities.

I wrote a post about Spring and Jakarta Data integration before, check https://medium.com/itnext/integrating-jakarta-data-with-spring-0beb5c215f5f

  1. Scan Jakarta Data @Repository as beans
  2. Allow Spring @Repository to interoperate the Jakarta Data one
  3. Allow developers to use Jakarta@Transactional or Spring @Transactional(requires support Hibernate StatelessSession)

Comment From: jhoeller

For 7.0, we might reopen #7184 for basic StatelessSession management but won't go as far as providing Jakarta Data support in Spring Framework proper. It looks like this does not fit with the Spring Data project either, so it'll be left to community efforts.