Тёмный

JPA/Hibernate Fundamentals 2023 - Lesson 16 - Spring Data JPA 

Laur Spilca
Подписаться 24 тыс.
Просмотров 2,8 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@rjrivas
@rjrivas 2 месяца назад
Thank you Laur. I have followed the complete course. I like your way of explaining. Everything is easier when it is explained like this. Greetings.
@younessfathi1739
@younessfathi1739 5 месяцев назад
thank you very much , i have watched all videos in this list , i apperciate your content thank you a lot
@sundarrajagopal4639
@sundarrajagopal4639 5 месяцев назад
Good job done !!!
@SuperCoderSuraj
@SuperCoderSuraj 8 месяцев назад
Firstly, thank you very much for your fantastic Spring Boot Security playlists! 🎉 Your content has been incredibly insightful. I'm eager to start learning, and I noticed you have two playlists, "Spring Boot Security 2022" and "Spring Boot Security 2020." As a beginner, I'm wondering which year's content you'd recommend starting with. Any guidance on the best entry point would be immensely helpful. Sending lots of regards from India! 🇮🇳
@laurspilca
@laurspilca 8 месяцев назад
I would recommend you the latest playlists.
@SuperCoderSuraj
@SuperCoderSuraj 8 месяцев назад
@@laurspilca Thanks for your reply.😎❤💌
@josuegarcia3355
@josuegarcia3355 6 месяцев назад
Great Series, I really like it. Thanks a lot Laur! What about Specification pattern from spring data jpa? is it better to use it over criteria with Entity manager?
@laurspilca
@laurspilca 6 месяцев назад
Hello. Good point. To be honest, I always preferred using Criteria Query directly.
@josuegarcia3355
@josuegarcia3355 6 месяцев назад
Coool thanks!
@OsteenOmega
@OsteenOmega 5 месяцев назад
Thank you so much sir for all this content. Ive learnt spring and spring boot entirely from your chanel and I'm so grateful. My question is, what kind of projects would you recommend us trying, to solidify our understanding of spring ecosystem based on your experience? I want to look for sn internship as a java developer and i need a few projects to showcase my understanding of spring. Your response will be highly appreciated
@laurspilca
@laurspilca 5 месяцев назад
Hey. Good question. i would recommend you play as much as possible with Spring and JPA.
@boualizakariae
@boualizakariae 5 месяцев назад
Good job, Did you talked about Caching in JPA ? I know it's available in hibernate.
@kazbowski
@kazbowski 7 месяцев назад
Hello! Thanks for your videos :) I wanted to suggest idea for video: OTP (one time password) in spring security. That's very hardest theme for implementing (like traditional implementing, without creating authentication) for me. Can you record video about that like pro in spring ?) Thanks!
@OsteenOmega
@OsteenOmega 4 месяца назад
Hello sir. i've come across this concept of caching with redis and i'm confused why do we need it. Is it something you recommend we should learn? and if yes i would suggest at least provide a demonstration of how it is used in the real world projects. thank you
@harshitsen5479
@harshitsen5479 8 месяцев назад
Hi, If there is an entity which has lets says 5-6 attributes. And lets say we want to do filtering based on these attributes passed as parameters.Then In this case should we go with CriteriaQuery or implements various methods each to handle different controller requests? Btw thanks for this series. Learnt so many things :)
@OsteenOmega
@OsteenOmega 5 месяцев назад
hello sir. my question is, how do you decide on what persitence technology to use based on your experience? how do you know when to use jpa, spring data jdbc, spring jdbc template and the other persistence options. how do you know when to use what? thank you
@laurspilca
@laurspilca 5 месяцев назад
Uh. This is a difficult question that deserves an entire discussion. Let me schedule a live event for this.
@OsteenOmega
@OsteenOmega 5 месяцев назад
@@laurspilca thank you so much sir
@leonard3100
@leonard3100 7 месяцев назад
Huge fan of your series. But what if you want to combine using this and criteria query? Can you create a class that implements the interface extending JpaRepository? How will the implementation of the built in methods look like?
@laurspilca
@laurspilca 7 месяцев назад
Hey. What you can do is actually inject the EntityManager in a bean. You cannot simply just combine it with an interface.
@yousseftarek-uc2nh
@yousseftarek-uc2nh 8 месяцев назад
I have a question If I'm using Spring boot Application and I have advanced search feature that create a dynamic query but in native SQL (it is harmful) So the best option is to use criteria query or specifications ? Thanks
@laurspilca
@laurspilca 8 месяцев назад
Hello. Yes. For dynamic queries you would use Criteria Query API.
@zbignevurbanovic5908
@zbignevurbanovic5908 8 месяцев назад
I would like to ask about annotation '@Query'. Is it only annotation for another programmer, or it has effect on Spring work?
@laurspilca
@laurspilca 8 месяцев назад
Hello. Excellent question. Besides being more clear, using @Query also helps a bit the performance since Spring Data will not have to translate anymore between method name and JPQL.
@OsteenOmega
@OsteenOmega 6 месяцев назад
hello sir, can we use database triggers for auditing? and if yes, what approach do you suggest?doing it a the database level using jpa?
@laurspilca
@laurspilca 6 месяцев назад
Hi. Yes, you can use triggers. They are completely independent on what you use at the app side. So yes, you can use them regardless of what persistence technology you use.
@OsteenOmega
@OsteenOmega 6 месяцев назад
@@laurspilca thank you
@HoangAnh-bt5fk
@HoangAnh-bt5fk 8 месяцев назад
Thank you very much, I have a question from the Spring Security Fundamentals video series. I want each request to the authorization server to generate a different rsa key pair. In the video, you create only 1 key pair. How to create and manage multiple rsa key pairs on requests?
@laurspilca
@laurspilca 8 месяцев назад
Hi. The key pair should not be generated by the application. In this particular example I do so because it's easier to demonstrate the configuration. But in a real word example you should have a set of keys which is configured through a vault. Generating the key per request makes no sense since you wouldn't be able to use a different key pair to validate the preceding request.
@AsakuraDantes
@AsakuraDantes 7 месяцев назад
On what topic, the next lecture series gonna be, Mr. Spilca?
@laurspilca
@laurspilca 7 месяцев назад
Not sure yet. Had a very busy period lately :)
@AsakuraDantes
@AsakuraDantes 7 месяцев назад
@@laurspilca ok, i understand 😭
Далее
Hibernate & JPA Tutorial - Crash Course
24:27
Просмотров 106 тыс.
Spring Security Fundamentals - Lesson 2 - Managing users
1:12:00
1 of 5 - Java OO Basics - Access Modifiers
23:25
Spring Start Here - Chapter 1 - Episode 1
57:26
Просмотров 6 тыс.
JPA/Hibernate Fundamentals 2023 - Lesson 1 - Entities
1:05:22
Life-work balance as a software developer
59:15
Quarkus & Hibernate - Getting Started Guide
9:11
Просмотров 3 тыс.