Join the Micro Services course waiting list and get and get an exclusive *EARLY-BIRD discount* aliboucoding.ck.page/d0f9317e13
@spring8355
Жыл бұрын
Thank you for your kind explanation, keep going ❤❤❤. Please, I would like to know what is the best practice for handling exception : extending "Exception" or extending "RuntimeException"
@BoualiAli
Жыл бұрын
You can check the exception handling video
@4wrk
3 ай бұрын
Thanks a lot! Your guide helped me to avoid creation of bunch of unnecessary methods within my repo layer :)
@BoualiAli
3 ай бұрын
Glad it helped!
@supun_sandaruwan
7 ай бұрын
I didn't even heard about criteria queries in spring boot. Thank you so much for sharing knowledge with us, Sir ❤🌻.
@BoualiAli
4 ай бұрын
Glad you liked it!
@yashkevich
11 ай бұрын
In the first case, the request will look like: select * from employee where (last_name = LIKE '%:lastName%' OR first_name LIKE '%:firstName%') AND first_name LIKE '%:email%') That is, the OR predicates will be in parentheses (1 OR 2) AND 3, since they are in a separate predicate
@kyrylochornobryvets3385
Ай бұрын
Hmm. Full Guide without joins and join fetch?! But you gave good approach. Thanks. It will be great if you create really full guide for Criteria Queries with joins and fetch joins and some queries which we don't know. 👍
@pqan112
Жыл бұрын
Thanks so much teacher, I'm a newbie Springboot. I don't know how to create complete API with relationship between tables. Other tutorial videos just teach me how to create API based on an entity. I hope you can do a video about my problems, thanks
@BoualiAli
Жыл бұрын
Enjoy this aliboucoding.com/p/first-hands-on-spring-boot-framework
@pqan112
Жыл бұрын
@@BoualiAli Thank you so much teacher
@toufiqulislamimran7911
Жыл бұрын
Man you are a life saver, till this video I didn't know about this feature of JPA. Thanks a lot man.❤❤
@BoualiAli
Жыл бұрын
Happy you liked it! You can also check the SPring Data JPA advanced course on my website aliboucoding.com/courses
@toufiqulislamimran7911
Жыл бұрын
@@BoualiAli Thank you so much and Please make video on Unit testing
@BoualiAli
Жыл бұрын
@@toufiqulislamimran7911 soon
@attabou100
Жыл бұрын
Exactly ; I repeated the video , and you explained very well when criteria is used ; thnaks a lot dear Teacher
@BoualiAli
Жыл бұрын
My pleasure 😇
@soumikdash2866
Ай бұрын
Thank you very much sir really appreciate your effort.
@elkhanismayilov
26 күн бұрын
Thank you for this tutorial but I have a question for that topic. How we can search to date range with criteria query. Would you explain or refer for me???
@fatemehsalem3850
9 ай бұрын
Thank you for providing this tutorial, it is so unique
@BoualiAli
9 ай бұрын
Happy you liked it!
@Teze-m8b
Ай бұрын
Excellent tutorial
@arturszmer3336
Жыл бұрын
Hey! Your tutorials are great but please do something with sound on introduction :) Just take mikrofon closer to you, if you want to hide your microfon you could place them under the view but close to you. Another way is bring more staff to you room to make reverb much smaller ;) If you need any advice about sound you can let me know.
@BoualiAli
Жыл бұрын
Thank you so much for the nice feedback. I upgraded my setup for better quality. Yes I would like to discuss more with you.please reach out on discord
@rihabbensoula1016
Жыл бұрын
Great job ,keep going
@BoualiAli
Жыл бұрын
Thank youuuuu
@geethikathota9063
Жыл бұрын
Very helpful. Thank you so much.
@BoualiAli
Жыл бұрын
Glad it was helpful!
@toufiklaggoune5972
Жыл бұрын
Always the best. Keep going bro.
@BoualiAli
Жыл бұрын
Thanks a lot. I will
@hoangkim6246
10 ай бұрын
Thank you for your video. Can you tell me how to join multiple tables where the returned result list is a collection of attributes from those tables.I'm sorry that my English is very bad. I hope you will understand
@BoualiAli
9 ай бұрын
User Projection
@larsmichael6242
Жыл бұрын
Nice video. Just having some trouble with querying nested objects in my entities. I'm using the @Embedded / @Embeddable annotations, but am not quite sure how to format the json data in my request body so that Spring understands.
@BoualiAli
Жыл бұрын
Can you share more details? Maybe in our discord server, sharing will be easier and get faster feedback
@atefjlassi193
Жыл бұрын
Great, Thank you Bouali
@BoualiAli
Жыл бұрын
Thank you
@mouhamedbasse6311
Жыл бұрын
Merci beaucoup pour le tuto Sensei! ça aurait été encore plus plus cool illustré avec un pageable.
@BoualiAli
Жыл бұрын
Noted
@ruff7209
Жыл бұрын
Nice tutorial, thx man!
@BoualiAli
Жыл бұрын
Happy you enjoyed it
@imranmomin4571
7 ай бұрын
@BoualiAli Can you make a video on search on multiple table using criteria query ?
@Utub-qc2cz
6 ай бұрын
Question: Is there anyway to access Join tables using criteria API ?
@ShrivastavaMohit07
Жыл бұрын
Great explanation
@BoualiAli
Жыл бұрын
Glad it was helpful!
@AnvarbekTurdaliyev
11 ай бұрын
thank you very much
@BoualiAli
11 ай бұрын
My pleasure!
@ahmedabdoz
10 ай бұрын
I am sorry but you said we are using that to avoid using if/else ,in the second example it ends up doing this , you have an if check for every search criteria
@BoualiAli
9 ай бұрын
there is a difference between if..else to compose a query and if..else for null check
@mayureshkumar3717
2 ай бұрын
didn't understood the last part of using toArray and passing it to the or method
@daoookhanhuyenn
3 ай бұрын
If I want to join a table in Criteria, how should I do it?
@samarthkamble7270
Жыл бұрын
Thanks a lot man❤
@BoualiAli
Жыл бұрын
You're welcome!
@nailiridha7179
Жыл бұрын
tres bien bravo
@BoualiAli
Жыл бұрын
Thank you
@manojv2893
5 ай бұрын
This syntax doesn't work with Hibernate 6 as we cannot use the same predicate more then once. Can you please re-record for Hibernate 6?
@luwamabraham4338
Жыл бұрын
Thank You
@BoualiAli
Жыл бұрын
My pleasure
@attabou100
Жыл бұрын
Thanks a lot
@BoualiAli
Жыл бұрын
Welcome
@norulshahlamjohn1140
Жыл бұрын
i believe this all can be greatly simplified by using Derived Query Methods in Spring Data JPA Repositories right sir?
@BoualiAli
Жыл бұрын
It is possible but you will need to write a complex query for it to handle all the fields. Criteria query is more flexible in that direction
@ankukoul07
Жыл бұрын
Nice..What if there are multiple filter conditions like for 20 fields..?
@BoualiAli
Жыл бұрын
Same way
@GianfrancoTerrazzano
11 ай бұрын
Hi! Thanks for the tutorial, it was great. There is a github where I can find the source code?
@BoualiAli
11 ай бұрын
In the description
@saiprasanthmattupalli4611
Жыл бұрын
How do we join multiple tables in criteria query ?
@BoualiAli
Жыл бұрын
I will make a video on that soon
@attabou100
Жыл бұрын
In your opinion, is there an advantage of always using "Criteria Queries" despite it being too long and complicated ?
@BoualiAli
Жыл бұрын
Always, I would say no I already explained the use case of criteria queries
@mona9741
5 ай бұрын
do you have the code for this project in github, cause I can't find it ps: great vid
@BoualiAli
4 ай бұрын
Sorry, no
@niladrisekharnath
11 ай бұрын
I have a question why use Predicate[0] ?
@BoualiAli
11 ай бұрын
Foo[] array = list.toArray(new Foo[0]);
@gokulvarshan1114
10 ай бұрын
can you help me with a problem please... i Need to filter a single string of a id from the list of string of id which is inthe database using this method you said can u tell me please
@BoualiAli
10 ай бұрын
Can you give an example? I didn’t get what you mean
@gokulvarshan1114
10 ай бұрын
@@BoualiAli how to search a single string in list of string
@ngavv7095
Жыл бұрын
what spring-data-jpa-pro-class whait project in github want to do,it's about easier using JPA?Looking forward your answer,thacher
@BoualiAli
Жыл бұрын
This is the spring data jpa pro class course coming really soon. Join aliboucoding.com and you receive an email when the course is released
@ngavv7095
Жыл бұрын
@@BoualiAli tks
@muhendis_
Жыл бұрын
there are lots of thing what ı dont know. I have to learn these descriptions 🙁
@BoualiAli
Жыл бұрын
Yes, the learning path is quite long but nothing is impossible
@elkhanismayilov
Жыл бұрын
why yo doesn't suggest us dynamic query like any repo @Query ?
@BoualiAli
Жыл бұрын
Will add it in the next video
@rohan1618
Жыл бұрын
Do you have junit for this code?
@BoualiAli
Жыл бұрын
Unfortunately not
@rohan1618
Жыл бұрын
@@BoualiAli how to write junit for this any book anywhere
Пікірлер: 93