JPA/Hibernate Fundamentals 2023 - Lesson 9 - JPQL queries

JPA/Hibernate Fundamentals 2023 - Lesson 9 - JPQL queries

Laur Spilca

9 месяцев назад

3,892 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@java_tar
@java_tar - 16.12.2023 17:21

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 ?

Ответить
@maksadnahibhoolna-wc2ef
@maksadnahibhoolna-wc2ef - 17.10.2023 16:27

How does JPQL compare to LINQ in dotnet environment

Ответить
@mihaiforfota3009
@mihaiforfota3009 - 10.10.2023 09:41

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.

Ответить
@FailMachineInc
@FailMachineInc - 30.09.2023 20:35

thank you, appreciate the series

Ответить
@MallikarjunReddy35
@MallikarjunReddy35 - 30.09.2023 10:51

Select Count(1) or Select Count(*) which one is better to use while coding

Ответить