FetchProfile « Query « JPA Q&A





1. Hibernate FetchProfile does not work with Queries    stackoverflow.com

I've configured a Hibernate FetchProfile on an entity named "Foo":

@FetchProfile(name = "foo-with-bar", fetchOverrides = { @FetchProfile.FetchOverride(entity = Foo.class, association = "bars", mode = FetchMode.JOIN) })
The profile will be registered in the ...