Class BatchingEntityLoader

    • Constructor Detail

      • BatchingEntityLoader

        public BatchingEntityLoader​(EntityPersister persister)
    • Method Detail

      • load

        public java.lang.Object load​(java.io.Serializable id,
                                     java.lang.Object optionalObject,
                                     SharedSessionContractImplementor session)
        Description copied from interface: UniqueEntityLoader
        Load an entity instance. If optionalObject is supplied, load the entity state into the given (uninitialized) object.
        Specified by:
        load in interface UniqueEntityLoader
      • buildQueryParameters

        protected QueryParameters buildQueryParameters​(java.io.Serializable id,
                                                       java.io.Serializable[] ids,
                                                       java.lang.Object optionalObject,
                                                       LockOptions lockOptions)
      • getObjectFromList

        protected java.lang.Object getObjectFromList​(java.util.List results,
                                                     java.io.Serializable id,
                                                     SharedSessionContractImplementor session)