In Spring Boot, the @Query annotation is used in the context of Spring Data JPA to define custom queries in a repository interface. This allows you to write JPQL (Java Persistence Query Language) or native SQL queries directly.
Source Code : https://gitlab.com/javabootprogrammer...
#component #annotations #stereotype #springboot #repository #jpa #JPAannotations #springboot #springframework