Migrate @Query to @NativeQuery for unsupported JPQL
ProprietaryConverts Spring Data @Query annotations to @NativeQuery when the JPQL query contains patterns unsupported by Hibernate 7's stricter JPQL parser, such as multi-argument trunc(date, 'format').
io. moderne. hibernate. update70. MigrateQueryToNativeQuerymod run . --recipe= io. moderne. hibernate. update70. MigrateQueryToNativeQueryInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.