JPA/Hibernate Fundamentals 2023 - Lesson 9 - JPQL queries

  Рет қаралды 5,176

Laur Spilca

Laur Spilca

Күн бұрын

Пікірлер: 27
@WenyuShi-b8g
@WenyuShi-b8g 11 ай бұрын
The explanation about "select p from Product p" vs. "select * from Product" starting around time point 19:00 was GOLD. Thank you so much.
@FailMachineInc
@FailMachineInc Жыл бұрын
thank you, appreciate the series
@java_tar
@java_tar Жыл бұрын
thanks so much for the series very informative i usually don't write the entity classes manually like i see you do here i just set the value in the persistence unit the exclude-unlisted-classes to false which just maps all my entities directly is that a bad approach ?
@zaidrj7374
@zaidrj7374 Ай бұрын
Thanks
@alessandromaini6267
@alessandromaini6267 4 ай бұрын
How do you highlight and autocomplete the JPQL queries?
@mihaiforfota3009
@mihaiforfota3009 Жыл бұрын
Unfortunately the JPQL is limited to only a few functions like count, avg, min, max. At some point I had to create query (left join) and to use functions like string_agg / array_agg and the resulted query could only be a native one.
@laurspilca
@laurspilca Жыл бұрын
Hi. If you can't avoid using JPQL you may use native queries. I will show you some alternatives to do that in one of the next episodes. But mind that this should be only for corner cases.
@mitchd.9414
@mitchd.9414 8 ай бұрын
Laurentiu, would you be kind enough please, to make a series about microservices and how to develop microservices, when there are relationships between entities, so when each microservice represents an entity and is linked with another microservices in relations 1:1 1:m, m:1 or m:n relations. How do we support this llinkage between entities, which are now divided among different mcroservices, if relationship annotations do not work here any longer ?
@maksadnahibhoolna-wc2ef
@maksadnahibhoolna-wc2ef Жыл бұрын
How does JPQL compare to LINQ in dotnet environment
@laurspilca
@laurspilca Жыл бұрын
Hello. Sorry. I cannot make such a comparison. I am not a .NET developer.
@MallikarjunReddy35
@MallikarjunReddy35 Жыл бұрын
Select Count(1) or Select Count(*) which one is better to use while coding
@akshaypande7115
@akshaypande7115 Жыл бұрын
Select count(1)
@laurspilca
@laurspilca Жыл бұрын
I would say select count(1) if what you want is just counting the records. But this is a SQL question and remember that even if as any other developer I work and am professional with SQL, I'm not at expert in it. Maybe you want to rise this question (or others related) to Vlad Mihalcea?
@ellazeoakman4938
@ellazeoakman4938 2 ай бұрын
771 Katelin Radial
@CarmenQuincy-g2h
@CarmenQuincy-g2h 2 ай бұрын
Davis Sharon Gonzalez Betty Clark Daniel
@adanitagalbraith7989
@adanitagalbraith7989 3 ай бұрын
Miller Anthony Harris Jason Lopez Timothy
@MariaThomas-j1y
@MariaThomas-j1y 2 ай бұрын
Rodriguez Donna Robinson Frank Martinez William
@WhitneyPerry-t5q
@WhitneyPerry-t5q 3 ай бұрын
Walker Timothy Martin Anthony Hernandez Steven
@LyttonDominic-s5l
@LyttonDominic-s5l 2 ай бұрын
Perez Daniel Lewis John Robinson Jessica
@DebraLittle-pz5um
@DebraLittle-pz5um 3 ай бұрын
Wilson Paul Wilson Steven Gonzalez David
@AbedaCarlos
@AbedaCarlos 3 ай бұрын
Rodriguez Daniel Miller Sandra Miller Richard
@AlisonHoward4ye
@AlisonHoward4ye 3 ай бұрын
Harris Anthony Martin Donna Clark Helen
@PatrickPerez-o1b
@PatrickPerez-o1b 3 ай бұрын
Miller Sandra Miller Elizabeth Johnson Jennifer
@GddbHdhd-gb4wl
@GddbHdhd-gb4wl 2 ай бұрын
Gonzalez George Gonzalez Kimberly Young Eric
@dimakim-n6c
@dimakim-n6c 2 ай бұрын
Miller Michael Gonzalez Jeffrey Johnson Jessica
@BlossomSummit-f5s
@BlossomSummit-f5s 3 ай бұрын
Gonzalez Sharon Jackson Michael Miller Brian
@minakhan-c4m
@minakhan-c4m 3 ай бұрын
Gonzalez Amy Jackson Carol Miller Melissa
JPA/Hibernate Fundamentals 2023 - Lesson 16 - Spring Data JPA
45:16
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
JPA/Hibernate Fundamentals 2023 - Lesson 15 - Entity Graphs
47:55
Laur Spilca
Рет қаралды 3,4 М.
JPA / Hibernate Marathon
3:47:39
Laur Spilca
Рет қаралды 2,7 М.
Advent of Spring Boot   DAY08
14:46
Xavier Bouclet
Рет қаралды 25
Choosing the right persistence solution for your Java app
48:00
Laur Spilca
Рет қаралды 1,2 М.
With Thorben Janssen on Java Persistence
53:51
Laur Spilca
Рет қаралды 821
Spring Start Here - Chapter 2 - Episode 2
1:06:51
Laur Spilca
Рет қаралды 2,2 М.
Spring Start Here - Chapter 1 - Episode 1
57:26
Laur Spilca
Рет қаралды 6 М.
Ask me Anything - I'm an entry level and want to get a Java job
1:09:41
Cryptography. Integrity and authenticity with the JDK
45:00
Laur Spilca
Рет қаралды 658