Skip to content

bezkoder/spring-jpa-query-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring JPA @Query example (Custom query) in Spring Boot

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:

Spring JPA @Query example: Custom query in Spring Boot

More Practice:

Spring JPA Native Query example in Spring Boot

Spring JPA Derived example in Spring Boot

Spring Boot Validate Request Body

Spring Boot File upload example with Multipart File

Spring Boot Pagination & Filter example | Spring JPA, Pageable

Spring Data JPA Sort/Order by multiple Columns | Spring Boot

Unit Test:

Spring Boot Repository Unit Test with @DataJpaTest

Spring Boot Rest Controller Unit Test with @WebMvcTest

Cache the result: Spring Boot Redis Cache example

Documentation: Spring Boot with Swagger 3 example

Reactive Rest API: Spring Boot WebFlux example

Associations:

Spring Boot One To One example with Spring JPA, Hibernate

Spring Boot One To Many example with Spring JPA, Hibernate

Spring Boot Many To Many example with Spring JPA, Hibernate

Security:

Spring Boot + Spring Security JWT Authentication & Authorization

Deployment:

Deploy Spring Boot App on AWS – Elastic Beanstalk

Docker Compose Spring Boot and MySQL example

Fullstack:

Vue + Spring Boot + H2 Embedded database example

Vue + Spring Boot + MySQL example

Vue + Spring Boot + PostgreSQL example

Angular 10 + Spring Boot + MySQL example

Angular 11 + Spring Boot + MySQL example

Angular 12 + Spring Boot + MySQL example

Angular 13 + Spring Boot + MySQL example

Angular 14 + Spring Boot + MySQL example

Angular 15 + Spring Boot + MySQL example

Angular 16 + Spring Boot + MySQL example

Angular 10 + Spring Boot + PostgreSQL example

Angular 11 + Spring Boot + PostgreSQL example

Angular 12 + Spring Boot + PostgreSQL example

Angular 13 + Spring Boot + PostgreSQL example

Angular 14 + Spring Boot + PostgreSQL example

Angular 15 + Spring Boot + PostgreSQL example

Angular 16 + Spring Boot + PostgreSQL example

Angular 13 + Spring Boot + H2 Embedded Database example

Angular 14 + Spring Boot + H2 Embedded Database example

Angular 15 + Spring Boot + H2 Embedded Database example

Angular 16 + Spring Boot + H2 Embedded Database example

React Redux + Spring Boot example

React + Spring Boot + MySQL example

React + Spring Boot + PostgreSQL example

Run both Back-end & Front-end in one place:

Integrate Angular with Spring Boot Rest API

Integrate React with Spring Boot Rest API

Integrate Vue with Spring Boot Rest API

Run Spring Boot application

mvn spring-boot:run