public class EntityGraphQueryHint
Encapsulates a JPA EntityGraph provided through a JPQL query hint. Converts the fetches into a list of AST
FromElements. The logic is kept here as much as possible in order to make it easy to remove this in the future,
once our AST is improved and this "hack" is no longer needed.