spring-data-jpa icon indicating copy to clipboard operation
spring-data-jpa copied to clipboard

Make JpaSort.unsafe() operational for HQL, EQL, and JPQL.

Open gregturn opened this issue 2 years ago • 1 comments

To support testing various configurations, I also implemente @HideHibernate, @HideEclipseLink, and @HidePersistenceProviders so that test methods and test classes can verify these classpath checks.

gregturn avatar Oct 05 '23 18:10 gregturn

Considering it's a bug fix and all the new code is package-private (or private), then all the HQL and JPQL parts should be a candidate for backporting, at least to all versions that have query parsing.

However, to do so would ALSO require backporting the PersistenceProvider.isPresent from #3170 (which I'm in favor of).

gregturn avatar Oct 05 '23 19:10 gregturn