Jpa Query To Return Dto Instead Of Entity

  Рет қаралды 1,799

Mike Møller Nielsen

Mike Møller Nielsen

Күн бұрын

Пікірлер: 13
@Кыргызстан-менинмекеним
@Кыргызстан-менинмекеним 9 ай бұрын
Awesome tutorial, thank you. In your dto you used only parameters with String type. In my case i used List and i can't find any solution. Can you help me, please
@MikesTechCorner
@MikesTechCorner 9 ай бұрын
Return entity and use MapStruct to map to dto
@anarcheo8339
@anarcheo8339 Жыл бұрын
awesome tutorial! thank you and keep it doing :)
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Thanks, will do! :) Programming is fun.
@anarcheo8339
@anarcheo8339 Жыл бұрын
@@MikesTechCorner 100%
@shahramamiri6790
@shahramamiri6790 Жыл бұрын
awesome tutorial! thank you, is it possible to make a video about complex conditional queries and joins for reporting in Spring Boot ?
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Yes good idea. Added to backlog
@shahramamiri6790
@shahramamiri6790 Жыл бұрын
@@MikesTechCorner Thank you
@richardravisequeira6200
@richardravisequeira6200 Жыл бұрын
How to handle it for a jpa native query that returns DTO for the resultset with data from multiple tables. Also is there a way to handle null parameters on native query?
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Don't use native query. It is much more readable and you want multiple databases. H2 for development because it is super fast and maybe a Postgres for deployed environments because it is reliable and a good performer.
@Talaria.School
@Talaria.School Жыл бұрын
👌👍🏻
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Thank you for commenting :)
@Talaria.School
@Talaria.School Жыл бұрын
@@MikesTechCorner valuable content. Thanks for sharing knowledge and expériences. Keep on. 💙
Jpa Buddy
23:29
Mike Møller Nielsen
Рет қаралды 169
Using DTOs with JPA
1:05:34
Laur Spilca
Рет қаралды 7 М.
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 10 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 83 МЛН
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
Use DTO instead of Model and Entity objects
8:11
Java Master
Рет қаралды 22 М.
Spring Data JPA: Ultimate Guide to Custom Queries with @Query Annotation
15:09
How to Return DTOs from Native Queries with Spring Data JPA
7:02
Thorben Janssen
Рет қаралды 35 М.
JWT авторизация. Основы JWT - механизма.
6:45
Хочу вАйти
Рет қаралды 12 М.
The best way to fetch SQL query projections with JPA
13:39
Vlad Mihalcea
Рет қаралды 4,3 М.
Projections with JPA and Hibernate
7:41
Thorben Janssen
Рет қаралды 7 М.
JAVA DTO Pattern Tutorial | Simplify Your Code
19:12
Amigoscode
Рет қаралды 209 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 70 М.
Hibernate 5:Mapping result of aggregate query to Data transfer Object(DTO)
14:46
JPA & Hibernate: Using the Optimal Query Approach & Projection
11:13
Thorben Janssen
Рет қаралды 4,6 М.
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 10 МЛН