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
-
Field Summary
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor
batchSize, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidauditOperations(List<com.atlassian.crowd.model.audit.AuditLogChangesetEntity> changesetEntities) protected voidprotected voidprotected voidorg.hibernate.Sessionprotected voidprotected voidMethods inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor
execute, execute, setBatchSize
-
Constructor Details
-
Hibernate5BatchProcessor
public Hibernate5BatchProcessor(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
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>
-