I tried to emulate the @Query function in this petclinic spring project :
https://github.com/spring-projects/spring-petclinic/blob/main/src/main/java/org/springframework/samples/petclinic/owner/OwnerRepository.java
Now, I realised that I can also extends JPARepository
And also at the annotation level I can or seems to be able or choose to use a variety of libraries from :
If I change all my queries to from javax.ws.rs ,will it cause any problem ?
Or is it safer to use @Param from org.springframework.data.repository.query.Param ?
I am really confused about this part..
Hope someone can advise me
Thanks.