Spring Data JPA 4: Derived Queries Are Now JPQL — What the Criteria-to-JPQL Rewrite Means
Spring Data JPA 4 quietly moved derived queries off the Criteria API onto JPQL strings. Part 2 of the migration series covers the benchmark, getSingleResultOrNull, provider differences (with a real EclipseLink regression), the removed native-query parser, NULLS precedence, and which new JPQL functions are portable.