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 void
afterProcessBatch()
protected void
afterProcessCollection()
protected void
afterProcessIndividual()
protected void
auditOperations(List<com.atlassian.crowd.model.audit.AuditLogChangesetEntity> changesetEntities)
protected void
beforeProcessBatch()
protected void
beforeProcessCollection()
protected void
beforeProcessIndividual()
org.hibernate.Session
getSession()
protected void
rollbackProcessBatch()
protected void
rollbackProcessIndividual()
-
-
-
Method Detail
-
beforeProcessCollection
protected void beforeProcessCollection()
- Specified by:
beforeProcessCollection
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessCollection
protected void afterProcessCollection()
- Specified by:
afterProcessCollection
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
beforeProcessBatch
protected void beforeProcessBatch()
- Specified by:
beforeProcessBatch
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessBatch
protected void afterProcessBatch()
- Specified by:
afterProcessBatch
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
rollbackProcessBatch
protected void rollbackProcessBatch()
- Specified by:
rollbackProcessBatch
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
beforeProcessIndividual
protected void beforeProcessIndividual()
- Specified by:
beforeProcessIndividual
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
afterProcessIndividual
protected void afterProcessIndividual()
- Specified by:
afterProcessIndividual
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
rollbackProcessIndividual
protected void rollbackProcessIndividual()
- Specified by:
rollbackProcessIndividual
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
getSession
public org.hibernate.Session getSession()
- Specified by:
getSession
in 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:
auditOperations
in classcom.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
-
-