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 Жыл бұрын
thank you, appreciate the series
@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Ай бұрын
Thanks
@alessandromaini62674 ай бұрын
How do you highlight and autocomplete the JPQL queries?
@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 Жыл бұрын
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.94148 ай бұрын
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 Жыл бұрын
How does JPQL compare to LINQ in dotnet environment
@laurspilca Жыл бұрын
Hello. Sorry. I cannot make such a comparison. I am not a .NET developer.
@MallikarjunReddy35 Жыл бұрын
Select Count(1) or Select Count(*) which one is better to use while coding
@akshaypande7115 Жыл бұрын
Select count(1)
@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?