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) })