Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring Data JPA Query By Example - Writing Dynamic Searches with Less Code

Dan Vega via YouTube

Overview

Learn to revolutionize dynamic database searches in Spring Boot applications through a comprehensive tutorial on Query By Example (QBE). Master the implementation of QBE in Spring Data JPA while building a complete application that demonstrates how to reduce boilerplate code and create maintainable search functionality. Explore essential concepts including ExampleMatcher, custom matching rules, and PostgreSQL integration with Docker. Follow along with hands-on demonstrations covering project setup, QBE basics, advanced query matching techniques, multiple search criteria handling, and best practices. Build practical skills through an employee data management system, complete with testing strategies and real-world implementation tips. Utilize modern tools including Spring Boot 3.3.5, Java 23, PostgreSQL, Docker, Maven, and Spring Data JPA to create efficient, flexible database queries with minimal code.

Syllabus

- Introduction & Overview
- Project Setup with Spring Boot
- Understanding Query By Example Basics
- Implementing Your First QBE Query
- Advanced Query Matching Techniques
- Working with Multiple Search Criteria
- Best Practices & When to Use QBE
- Demo: Building a Search API
- Testing Your Implementation
- Final Tips & Conclusion

Taught by

Dan Vega

Reviews

Start your review of Spring Data JPA Query By Example - Writing Dynamic Searches with Less Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.