Best of Spring FrameworkJanuary 2024

  1. 1
    Article
    Avatar of baeldungBaeldung·2y

    List vs. Set in @OneToMany JPA

    Hibernate and Spring JPA provide tools for seamless database communication, but confusion arises when deciding between using Lists or Sets in one-to-many or many-to-many relationships. Sets are generally more suitable for these relationships but come with performance implications. This tutorial explores the differences between Lists and Sets in the context of entity relationships and discusses the advantages and disadvantages of each approach.

  2. 2
    Article
    Avatar of baeldungBaeldung·2y

    Java Weekly, Issue 523

    This post discusses using AI to generate descriptions for JFR events, integrating LLMs in Quarkus applications, and includes various articles and podcasts related to Java and Spring.

  3. 3
    Article
    Avatar of baeldungBaeldung·2y

    N+1 Problem in Hibernate and Spring Data JPA

    This post discusses the N+1 problem in Hibernate and Spring Data JPA, exploring how lazy loading and eager loading can contribute to this issue. It also mentions the tradeoffs of using different fetch types and suggests ways to address the problem.