protected void addFetches ( final Root < PortletEntityImpl > definitionRoot ) { definitionRoot . fetch ( PortletEntityImpl_ . portletPreferences , JoinType . LEFT ) . fetch ( PortletPreferencesImpl_ . portletPreferences , JoinType . LEFT ) . fetch ( PortletPreferenceImpl_ . values , JoinType . LEFT ) ; definitionRoot . fetch ( PortletEntityImpl_ . windowStates , JoinType . LEFT ) ; }
Add all the fetches needed for completely loading the object graph