Class Hibernate5BatchProcessor
- java.lang.Object
-
- com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
- com.atlassian.confluence.impl.user.crowd.hibernate.batch.Hibernate5BatchProcessor
-
- All Implemented Interfaces:
com.atlassian.crowd.util.persistence.hibernate.batch.BatchProcessor<org.hibernate.Session>
public class Hibernate5BatchProcessor extends com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>Hibernate 5 Implementation of the BatchProcessor- Since:
- 7.20.0
-
-
Constructor Summary
Constructors Constructor Description Hibernate5BatchProcessor(org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterProcessBatch()protected voidafterProcessCollection()protected voidafterProcessIndividual()protected voidauditOperations(List<com.atlassian.crowd.model.audit.AuditLogChangesetEntity> changesetEntities)protected voidbeforeProcessBatch()protected voidbeforeProcessCollection()protected voidbeforeProcessIndividual()org.hibernate.SessiongetSession()protected voidrollbackProcessBatch()protected voidrollbackProcessIndividual()
-
-
-
Method Detail
-
beforeProcessCollection
protected void beforeProcessCollection()
- Specified by:
beforeProcessCollectionin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessCollection
protected void afterProcessCollection()
- Specified by:
afterProcessCollectionin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
beforeProcessBatch
protected void beforeProcessBatch()
- Specified by:
beforeProcessBatchin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessBatch
protected void afterProcessBatch()
- Specified by:
afterProcessBatchin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
rollbackProcessBatch
protected void rollbackProcessBatch()
- Specified by:
rollbackProcessBatchin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
beforeProcessIndividual
protected void beforeProcessIndividual()
- Specified by:
beforeProcessIndividualin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessIndividual
protected void afterProcessIndividual()
- Specified by:
afterProcessIndividualin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
rollbackProcessIndividual
protected void rollbackProcessIndividual()
- Specified by:
rollbackProcessIndividualin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
getSession
public org.hibernate.Session getSession()
- Specified by:
getSessionin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
auditOperations
protected void auditOperations(List<com.atlassian.crowd.model.audit.AuditLogChangesetEntity> changesetEntities)
- Specified by:
auditOperationsin classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
-