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

  Рет қаралды 3,086

Laur Spilca

Laur Spilca

Күн бұрын

Пікірлер
@rjrivas
@rjrivas 4 ай бұрын
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 7 ай бұрын
thank you very much , i have watched all videos in this list , i apperciate your content thank you a lot
@SuperCoderSuraj
@SuperCoderSuraj 10 ай бұрын
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 10 ай бұрын
I would recommend you the latest playlists.
@SuperCoderSuraj
@SuperCoderSuraj 10 ай бұрын
@@laurspilca Thanks for your reply.😎❤💌
@sundarrajagopal4639
@sundarrajagopal4639 7 ай бұрын
Good job done !!!
@josuegarcia3355
@josuegarcia3355 8 ай бұрын
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 8 ай бұрын
Hello. Good point. To be honest, I always preferred using Criteria Query directly.
@josuegarcia3355
@josuegarcia3355 8 ай бұрын
Coool thanks!
@OsteenOmega
@OsteenOmega 7 ай бұрын
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 7 ай бұрын
Hey. Good question. i would recommend you play as much as possible with Spring and JPA.
@zaidrj7374
@zaidrj7374 Ай бұрын
Thanks
@boualizakariae
@boualizakariae 7 ай бұрын
Good job, Did you talked about Caching in JPA ? I know it's available in hibernate.
@kazbowski
@kazbowski 9 ай бұрын
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!
@HoangAnh-bt5fk
@HoangAnh-bt5fk 10 ай бұрын
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 10 ай бұрын
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.
@OsteenOmega
@OsteenOmega 7 ай бұрын
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 7 ай бұрын
Uh. This is a difficult question that deserves an entire discussion. Let me schedule a live event for this.
@OsteenOmega
@OsteenOmega 7 ай бұрын
@@laurspilca thank you so much sir
@harshitsen5479
@harshitsen5479 10 ай бұрын
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 :)
@dhairyachauhan6622
@dhairyachauhan6622 20 күн бұрын
I have a doubt, do the tables in the db require foreign keys for a oneToMany relation to work or any kind of relationship...
@laurspilca
@laurspilca 15 күн бұрын
Hello. It will work with or without that constraint. Because Hibernate only cares for the values. However, in practice you'll always define them because otherwise you'll face dramatically performance issues.
@yousseftarek-uc2nh
@yousseftarek-uc2nh 10 ай бұрын
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 10 ай бұрын
Hello. Yes. For dynamic queries you would use Criteria Query API.
@leonard3100
@leonard3100 9 ай бұрын
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 9 ай бұрын
Hey. What you can do is actually inject the EntityManager in a bean. You cannot simply just combine it with an interface.
@AsakuraDantes
@AsakuraDantes 9 ай бұрын
On what topic, the next lecture series gonna be, Mr. Spilca?
@laurspilca
@laurspilca 9 ай бұрын
Not sure yet. Had a very busy period lately :)
@AsakuraDantes
@AsakuraDantes 9 ай бұрын
@@laurspilca ok, i understand 😭
@OsteenOmega
@OsteenOmega 8 ай бұрын
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 8 ай бұрын
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 8 ай бұрын
@@laurspilca thank you
@zbignevurbanovic5908
@zbignevurbanovic5908 10 ай бұрын
I would like to ask about annotation '@Query'. Is it only annotation for another programmer, or it has effect on Spring work?
@laurspilca
@laurspilca 10 ай бұрын
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. 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
JPA/Hibernate Fundamentals 2023 - Lesson 15 - Entity Graphs
47:55
Laur Spilca
Рет қаралды 3,4 М.
Choosing the right persistence solution for your Java app
48:00
Laur Spilca
Рет қаралды 1,2 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Jai Aadhya Shakti #garba #song #music #trending #aarti
0:43
JAGADISH R PATEL
Рет қаралды 1,3 М.
JPA / Hibernate Marathon
3:47:39
Laur Spilca
Рет қаралды 2,7 М.
Spring Tips: Spring Data JDBC
27:36
SpringDeveloper
Рет қаралды 22 М.
Android Native listview Partie 1
34:56
Adil Bouhouch
Рет қаралды 5
Spring Start Here - Chapter 3 - Episode 5
56:51
Laur Spilca
Рет қаралды 1,3 М.
Cryptography. Integrity and authenticity with the JDK
45:00
Laur Spilca
Рет қаралды 658
On NoSQL and more persistent options with Calin Constantinov
42:10
Spring Start Here - Chapter 2 - Episode 3
1:00:00
Laur Spilca
Рет қаралды 1,3 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19