类 BatchingLoadQueryDetailsFactory


  • public class BatchingLoadQueryDetailsFactory
    extends Object
    A factory class for creating a LoadQueryDetails object.
    • 方法详细资料

      • makeEntityLoadQueryDetails

        public EntityLoadQueryDetails makeEntityLoadQueryDetails​(LoadPlan loadPlan,
                                                                 String[] keyColumnNames,
                                                                 QueryBuildingParameters buildingParameters,
                                                                 SessionFactoryImplementor factory)
        Returns an EntityLoadQueryDetails object from the given inputs.
        参数:
        loadPlan - The load plan
        keyColumnNames - The columns to load the entity by (the PK columns or some other unique set of columns)
        buildingParameters - Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
        factory - The SessionFactory
        返回:
        The EntityLoadQueryDetails
      • makeEntityLoadQueryDetails

        public EntityLoadQueryDetails makeEntityLoadQueryDetails​(EntityLoadQueryDetails entityLoadQueryDetailsTemplate,
                                                                 QueryBuildingParameters buildingParameters)
        Returns a EntityLoadQueryDetails object based on an existing one and additional elements specific to this one.
        参数:
        entityLoadQueryDetailsTemplate - the template
        buildingParameters - Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
        返回:
        The EntityLoadQueryDetails
      • makeCollectionLoadQueryDetails

        public LoadQueryDetails makeCollectionLoadQueryDetails​(CollectionPersister collectionPersister,
                                                               LoadPlan loadPlan,
                                                               QueryBuildingParameters buildingParameters)
        Constructs a BasicCollectionLoadQueryDetails object from the given inputs.
        参数:
        collectionPersister - The collection persister.
        loadPlan - The load plan.
        buildingParameters - Any influencers that would affect the generated SQL (mostly we are concerned with those that add additional joins here)
        返回:
        The EntityLoadQueryDetails