Class 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 Detail

      • Hibernate5BatchProcessor

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

      • beforeProcessCollection

        protected void beforeProcessCollection()
        Specified by:
        beforeProcessCollection in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • afterProcessCollection

        protected void afterProcessCollection()
        Specified by:
        afterProcessCollection in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • beforeProcessBatch

        protected void beforeProcessBatch()
        Specified by:
        beforeProcessBatch in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • afterProcessBatch

        protected void afterProcessBatch()
        Specified by:
        afterProcessBatch in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • rollbackProcessBatch

        protected void rollbackProcessBatch()
        Specified by:
        rollbackProcessBatch in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • beforeProcessIndividual

        protected void beforeProcessIndividual()
        Specified by:
        beforeProcessIndividual in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • afterProcessIndividual

        protected void afterProcessIndividual()
        Specified by:
        afterProcessIndividual in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • rollbackProcessIndividual

        protected void rollbackProcessIndividual()
        Specified by:
        rollbackProcessIndividual in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>
      • getSession

        public org.hibernate.Session getSession()
        Specified by:
        getSession in class com.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 class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchProcessor<org.hibernate.Session>