Use Spring JPA @Query
for custom query in Spring Boot example:
- Way to use JPQL (Java Persistence Query Language)
- How to execute SQL query in Spring Boot
- JPA Select query with WHERE condition example
For more detail, please visit:
More Practice:
Spring Boot Pagination & Filter example | Spring JPA, Pageable
Spring Data JPA Sort/Order by multiple Columns | Spring Boot
Unit Test:
Cache the result: Spring Boot Redis Cache example
Documentation: Spring Boot with Swagger 3 example
Reactive Rest API: Spring Boot WebFlux example
Associations:
Security:
Spring Boot + Spring Security JWT Authentication & Authorization
Deployment:
Fullstack:
Run both Back-end & Front-end in one place:
mvn spring-boot:run