ara icon indicating copy to clipboard operation
ara copied to clipboard

Refactor queries

Open omar-chahbouni-decathlon opened this issue 4 years ago • 0 comments

What it's the actual situation on ARA ? This is more a code enhancement (refactoring): a lot of repository classes (XXXRepository.java) use the @Query annotation.

Describe the solution you'd like This is not useful and add unnecessary code: it can directly be replaced (annotation to remove) by renaming correctly the method. See https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods

Please note that integration tests are expected to make sure no regression has been introduced.