@Query() work with spring mvc

i am using spring mvc not sprint boot my question is how to use @Query() annotation work with spring mvc please explain if it is possible with spring mvc

Maybe by recalling that @Query is part of Spring Data JPA