Build @EntityGraph for Spring Data JPA repository methods | JPA Buddy

Опубликовано: 22 Февраль 2026
на канале: JPA Buddy
1,508
9

#jpa #springdata #hibernate #intellijidea #java #kotlin #jpabuddy

There're two layers where you can control data fetching in JPA:
👉🏿 At the level of entity class via fetch type and fetch mode
👉🏻 At the query level via the "join fetch" clause or using @EntityGraph

IntelliJ IDEA 2022.3.1
JPA Buddy 2023.1.0
________________________________________________________________________

JPA Buddy is an IntelliJ IDEA plugin that helps developers work efficiently with Hibernate, EclipseLink, Spring Data JPA, Flyway, Liquibase, Lombok, MapStruct, and other related technologies in both Java and Kotlin.

The plugin is intended to:
– Lower barrier to entry into development with JPA
– Boost developer’s productivity
– Make sure your code follows best practices

JPA Buddy delivers:
– Intuitive wizards to work with JPA
– Automatic database versioning changelog generation
– Smart inspections to make the code better
– JPA Entities generation based on tables (reverse engineering)
– Visual DTO designer and mapper code generator

You can use JPA Buddy in any project with Spring Boot, Jakarta Enterprise Edition, Quarkus, Micronaut, or even without any framework.

Download IntelliJ IDEA: https://jb.gg/5r06j0

Join us:
Website: https://jb.gg/website
Blog: https://jb.gg/blog
Twitter:   / intellijidea  
Facebook:   / intellijidea  
YouTube:    / @intellijidea