Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.1.0.RELEASE
-
Fix Version/s: None
-
Component/s: DATA
-
Labels: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.