Class Hibernate5BatchFinder
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
com.atlassian.confluence.impl.user.crowd.hibernate.batch.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected <E> Collection<E>
processBatchFind
(long directoryID, Collection<String> names, Class<E> persistentClass) Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
find, setBatchSize
-
Constructor Details
-
Hibernate5BatchFinder
public Hibernate5BatchFinder(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
beforeFind
protected void beforeFind()- Overrides:
beforeFind
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
-
afterFind
protected void afterFind()- Overrides:
afterFind
in classcom.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 classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
-