/spring-jpa-native-query-example

Spring Data JPA Native Query example (with parameters) in Spring Boot

Primary LanguageJava

Spring JPA Native Query example in Spring Boot

Use Spring JPA native query (custom SQL query) using @Query in Spring Boot example:

  • Way to use @Query annotation for native SQL query
  • How to execute SQL query in Spring Boot
  • JPA Select query with WHERE condition example

For more detail, please visit:

Spring JPA Native Query example in Spring Boot

More Practice:

Spring JPA Query example with JPQL 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