Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.1.0.RELEASE
-
None
-
None
Description
Currently all query methods not carrying an @Query annotation are considered a query method to be validated. However, it is possible the user's repository interface re-declares methods of CrudRepository to reconfigure e.g. transaction configuration. Thus, a repository interface like this is valid:
interface UserRepository extends Repository<User, Long> { User save(User user); }
The save(…) method must not be considered a query method actually as it will be implemented by the store specific repository implementation.