Class MetamodelDrivenLoadPlanBuilder

    • Method Detail

      • buildRootEntityLoadPlan

        public static LoadPlan buildRootEntityLoadPlan​(LoadPlanBuildingAssociationVisitationStrategy strategy,
                                                       EntityPersister persister)
        Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).

        Typically this includes building load plans for entity loading or cascade loading.

        Parameters:
        strategy - The strategy defining the load plan shaping
        persister - The persister for the entity forming the root of the load plan.
        Returns:
        The built load plan.
      • buildRootCollectionLoadPlan

        public static LoadPlan buildRootCollectionLoadPlan​(LoadPlanBuildingAssociationVisitationStrategy strategy,
                                                           CollectionPersister persister)
        Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).
        Parameters:
        strategy - The strategy defining the load plan shaping
        persister - The persister for the collection forming the root of the load plan.
        Returns:
        The built load plan.