| You can alway just create another entity mapping where you don't map that association with EAGER fetching. You can map additional @Immutable entities like described here: https://vladmihalcea.com/immutable-entity-jpa-hibernate/ Another alternative would be to use a custom projection with a proper DTO model. Maybe what you are looking for is the DTO library I developed that works on top of the JPA model. It's called Blaze-Persistence Entity Views which allows you to map a subset or pojection of the entity model with interfaces: https://github.com/Blazebit/blaze-persistence#entity-view-usage |