title: Hibernate @FetchProfile with FetchMode.SUBSELECT alternative in JPA
body: <p>I am looking for way to enable/disable FetchMode.SUBSELECT for different queries in JPA.
  According to this answer:</p>
  
  <p><a href="https://stackoverflow.com/a/36911454/5810648">https://stackoverflow.com/a/36911454/5810648</a></p>
  
  <p>I have to use JPA entity graph instead. Is there any way to achieve behavior similar to Hibernate FetchMode.SUBSELECT using JPA?</p>