Spring Boot MicroServices Course : Implement Get Orders APIs

Sdílet
Vložit
  • čas přidán 15. 07. 2024
  • Join this channel to get access to the perks:
    / @sivalabs
    #sivalabs #java #spring #springboot #springcloud #microservices #restapi #rabbitmq #testing #junit #junit5 #maven #testcontainers #docker #kubernetes
    In this video, you will learn:
    ► How to read only required data from DB using JPA constructor expressions
    ► How to use custom JPQL queries to efficiently load associated data
    ► How to initialize test data for integration tests
    ❤️ Thanks for watching
    References
    =============================================
    ⭐ Source Code: github.com/sivaprasadreddy/sp...
    ⭐ Spring Boot Tutorials: www.sivalabs.in/spring-boot-t...
    Connect with Me
    =============================================
    Blog: www.sivalabs.in
    CZcams: / sivalabs
    Twitter: / sivalabs
    GitHub: github.com/sivaprasadreddy
    LinkedIn: / ksivaprasadreddy
    Must Watch Videos
    =============================================
    🚀 🎬 Spring Boot REST API Anti-Patterns and Best Practices • Spring Boot REST API A...
    🚀 🎬 Modern Spring Boot Application Development using Java 17/21 and Testcontainers • Modern Spring Boot App...
    🚀 🎬 How do I upskill myself, and what tools & techniques do I use? • How do I upskill mysel...
    🚀 🎬 Top 5 Tips to Succeed in Technical Interviews • Top 5 Tips to succeed ...
    Popular Series Playlists
    =============================================
    🚀 🎬 Spring Boot Tips Series Playlist • Spring Boot Tips
    🚀 🎬 Spring Boot + Kubernetes Tutorial Series Playlist • Spring Boot + Kubernet...
    🚀 🎬 Spring Boot - The Missing Guide Series Playlist • Spring Boot - The Miss...
    🚀 🎬 Integration Testing with Testcontainers • Integration Testing wi...
    🚀 🎬 Java Testing Made Easy Playlist • Java Testing Made Easy...
    ⭐ Tags ⭐
    best spring tutorials, best spring boot tutorials, how to learn spring boot, mastering spring boot, complete java testing course, java testing best practices, how to build spring boot rest API, spring cloud tutorials, spring boot docker tutorial, spring boot kubernetes tutorial, how to become proficient in java, how to learn spring boot quickly, how to learn spring boot in-depth
  • Věda a technologie

Komentáře • 7

  • @antonygenil
    @antonygenil Před 2 měsíci

    Siva, I'm thoroughly impressed by your work. Your ability to break down medium to complex concepts into easily understandable explanations is remarkable. I highly recommend your videos to anyone looking to improve their understanding of Spring Boot. Thank you for sharing such high-quality content!

  • @DileepKumar-kg7ve
    @DileepKumar-kg7ve Před 2 měsíci

    Really Helpful with this series, learnt lot of new things which can be corelated to real-time applications. Great job keep helping us to learn more new things in java world.

  • @azdanov
    @azdanov Před 2 měsíci

    Another way to avoid the problem of fetching lazy items is to use an EntityGraph annotation instead of a custom Query.

    • @sivalabs
      @sivalabs  Před 2 měsíci +1

      Also, you can explore Blaze Persistence which provides some additional features on top of JPA.

  • @azdanov
    @azdanov Před 2 měsíci

    It is also possible to rely on Spring Data to do automatically map to the projection by just specifying the return type in the repository without an explicit JPA Query. As long as the field names are the same in both the record and in the entity, then it will work.

    • @sivalabs
      @sivalabs  Před 2 měsíci

      Yes. But I think it won't work if we are loading associated child collection and mapping to a Record.

    • @azdanov
      @azdanov Před 2 měsíci

      @@sivalabs Yeah, it wouldn't work directly with OrderDTO. While OrderSummary worked for me.