static void removeEntityGraphs ( Map < String , Object > queryHints ) { if ( queryHints == null ) { return ; } queryHints . remove ( EntityGraph . EntityGraphType . FETCH . getKey ( ) ) ; queryHints . remove ( EntityGraph . EntityGraphType . LOAD . getKey ( ) ) ; }
Remove all EntityGraph pre existing in the QueryHints