Session 83 – Spring Data JPA Derived Query
Автор: java full stack made easy
Загружено: 2026-02-22
Просмотров: 16
Описание:
🚀 Session 83 – Spring Data JPA Derived Query | findByUniverse() Explained
#SpringBoot #SpringDataJPA #DerivedQuery #JavaFullStack #RESTAPI
Welcome to Session 83 of the Java Full Stack Made Easy series!
In this session, we explore one of the most powerful features of Spring Data JPA — Derived Queries.
We implement a custom query method:
findByUniverse(String universe)
Without writing any JPQL or SQL manually! 🎯
Spring automatically generates the query just from the method name.
We continue working with our SuperHero entity having:
id
name
universe
power
✅ Topics Covered
🔹 What is a Derived Query?
How Spring Data JPA parses method names
How queries are auto-generated
🔹 Implementing findByUniverse()
Repository layer method creation
Service & ServiceImpl integration
Controller endpoint
🔹 How It Works Internally
Naming conventions
Return types (List vs Optional)
Clean architecture flow
🔹 Testing the API
Example request
Example JSON response
🎯 What You Will Learn
How to create queries without writing SQL
How method naming controls query behavior
Why derived queries are powerful in real-world projects
How to keep code clean and maintainable
🛠 Technologies Used
Java
Spring Boot
Spring Data JPA
MySQL
REST APIs
📺 Watch the full playlist:
👉 • Java Full Stack Made easy
💻 Source Code:
👉 http://github.com/shahdbest/java_full...
📲 Connect on LinkedIn:
👉 / shahid-killedar-719a51127
👍 If this video helped you, Like, Share & Subscribe
📌 Next Session: More Derived Queries (findByName, findByPowerContaining, findByUniverseAndPower, etc.)
🔍 SEO KEYWORDS (Paste in Tags Section)
spring data jpa derived query example, spring boot findby example, spring data jpa findbyuniverse, spring boot custom query without sql, spring data jpa method naming, spring boot rest api mysql, spring boot real world project, java backend tutorial, spring data jpa interview questions, spring boot derived queries tutorial
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: