Hibernate 6.2 introduced support for Common Table Expressions (CTE) in JPQL. Starting with Spring Data JPA 3.1.1, you can use CTEs in your @Query annotation if you use Hibernate as your persistence provider.

That was one of the things I explained on Monday’s Java Persistence News episode, and I thought I share that part of the recording with you:

Join the Persistence Hub to:

  • Get access to the full recording of this month’s Java Persistence News episode and the used code samples,
  • Watch all my video courses about JPA, Hibernate, and Spring Data JPA,
  • Attend monthly Expert Sessions and the Java Persistence News live.

Click here to find out more!