Class Hibernate5BatchFinder

  • All Implemented Interfaces:
    com.atlassian.crowd.util.persistence.hibernate.batch.BatchFinder

    public class Hibernate5BatchFinder
    extends com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
    Hibernate 5 implementation of the batch finder.
    Since:
    7.20.0
    • Constructor Detail

      • Hibernate5BatchFinder

        public Hibernate5BatchFinder​(org.hibernate.SessionFactory sessionFactory)
    • Method Detail

      • beforeFind

        protected void beforeFind()
        Overrides:
        beforeFind in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
      • afterFind

        protected void afterFind()
        Overrides:
        afterFind in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
      • processBatchFind

        protected <E> Collection<E> processBatchFind​(long directoryID,
                                                     Collection<String> names,
                                                     Class<E> persistentClass)
        Specified by:
        processBatchFind in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder