Загрузка...

Chapter-06: Custom methods using Query by annotation | @Query, @NamedQuery | Spring Data JPA

This is a technical video of Spring Data JPA series. In this, I have tried to explain how to implement Query by annotation in Repository layer using Spring Data JPA.

First of all there is a recap of previous video and then with the help of code we have implemented Query by annotation in the repository layer. We will see use of @Query, @NamedQuery and @NamedNativeQuery annotations.

Don’t forget to like, comment, and share with other developers working with databases!

For educational purposes only.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
You can download the code shown in video from : https://github.com/abhishekvermaa10/Spring-Data
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
00:00 Introduction
00:34 Recap of previous video
02:58 Implementing Query By annotation
07:15 Theory - Query By annotation
14:18 Back to implementation
27:50 Executing the code
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Software Requirements:
• Java 21: https://www.oracle.com/in/java/technologies/downloads
• Spring Tool Suite (STS) 4: https://spring.io/tools
• MySQL Community Server 8.4: https://dev.mysql.com/downloads/mysql
• DBeaver: https://dbeaver.io
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Social Media Handles:
• Telegram: https://t.me/ScaleUpIndiayt
• YouTube: https://www.youtube.com/@abhishekvermaa10
• Instagram: https://www.instagram.com/abhishekvermaa10
• LinkedIn: https://www.linkedin.com/in/abhishekvermaa10
• GitHub: https://github.com/abhishekvermaa10
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Download and Install videos:
• Java 21: https://youtu.be/yHb5Utp1tL0
• Spring Tool Suite (STS) 4: https://youtu.be/PRLeTElWQPw
• MySQL 8.4: https://youtu.be/HIp492L73eE
• DBeaver: https://youtu.be/begjE2_DlIg
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Binge watch videos and playlists:
• Daily Interview series: https://www.youtube.com/playlist?list=PLJDwhlqmpSfNd4lw3-DNYqyU07FShIwTE
• Multithreading: https://youtu.be/1bSy1qxOFrM
• Concurrency: https://youtu.be/bf9X_-qmcoY
• Generics: https://youtu.be/_ii9lqr0IZw
• Collection Framework: https://youtu.be/ZYPM-i-pRP4
• Exception Handling: https://youtu.be/N6JikpffwO4
• Lambda Expression: https://youtu.be/rtFeRxCxPNo
• Streams API: https://youtu.be/J2pxQFmQsN0
• Optional Class: https://youtu.be/_IqRZbFjZcc
• DateTime API: https://youtu.be/boWL7j-Fk1U
• JDBC: https://www.youtube.com/playlist?list=PLJDwhlqmpSfP1FroiBGc7N3-r67VaEp0V
• Maven: https://www.youtube.com/playlist?list=PLJDwhlqmpSfMNgiOg0xyg4hVsPcJUh4jE
• Hibernate: https://www.youtube.com/playlist?list=PLJDwhlqmpSfNYPqMMqNj7DXl41fnTVJuY
• Spring Basics with Spring Boot: https://www.youtube.com/playlist?list=PLJDwhlqmpSfO7BUlQk_di-86igrzgnsGo
• Spring Data JPA with Spring Boot: https://www.youtube.com/playlist?list=PLJDwhlqmpSfPUg7_jffHmF_6MooTlH7rO
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Copyright © 2024 Abhishek Verma - All Rights Reserved

Видео Chapter-06: Custom methods using Query by annotation | @Query, @NamedQuery | Spring Data JPA канала Abhishek Verma
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять