Replace all @Query with DSL
The "text" mode
@Query syntax in JPA repositories is impossible to maintain as the data models are updated and changed.
Migrate all cases where
@Query is used to QueryDSL. Use the following approach:
- If the query is used from a single service method, implement the query in the service method
- If the query is used from multiple service methods, implement the query in a
...CustomImpland extend the repository with a