Jpa Query To Return Dto Instead Of Entity
HTML-код
- Опубликовано: 31 июл 2024
- Enjoy! :-)
Thank you for commenting and asking questions.
Discord server - Where we discuss programming languages and tech - Please use the right channel to your input / question :)
/ discord
Library sign up referral link:
lbry.tv/$/invite/@mikemoeller...
The code is located here:
github.com/ekim197711/SpringB...
Follow me on twitter:
/ mikemoelnielsen
Chat on Discord:
/ discord
Support me on Patreon:
/ mikemoellernielsen
Background nature video:
Video by Engin Akyurt from Pexels
www.pexels.com/video/beauty-o... Наука
awesome tutorial! thank you and keep it doing :)
Thanks, will do! :) Programming is fun.
@@MikesTechCorner 100%
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
Return entity and use MapStruct to map to dto
awesome tutorial! thank you, is it possible to make a video about complex conditional queries and joins for reporting in Spring Boot ?
Yes good idea. Added to backlog
@@MikesTechCorner Thank you
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?
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.
👌👍🏻
Thank you for commenting :)
@@MikesTechCorner valuable content. Thanks for sharing knowledge and expériences. Keep on. 💙