public class Hibernate5BatchProcessor extends AbstractHibernateBatchProcessor<org.hibernate.Session> implements SessionBatchProcessor
sessionFactory
batchSize, log
Constructor and Description |
---|
Hibernate5BatchProcessor(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
auditOperations(List<AuditLogChangesetEntity> changesetEntities) |
protected void |
clearSession() |
protected void |
closeSession() |
protected void |
flushSession() |
protected org.hibernate.Session |
getSession()
Subclasses should use this method to provide the session to be used with any implementations of
HibernateOperation . |
protected org.hibernate.Session |
openSession() |
afterProcessBatch, afterProcessCollection, afterProcessIndividual, beforeProcessBatch, beforeProcessCollection, beforeProcessIndividual, commitTransaction, rollbackProcessBatch, rollbackProcessIndividual, rollbackTransaction, startTransaction
execute, execute, setBatchSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute
public Hibernate5BatchProcessor(org.hibernate.SessionFactory sessionFactory)
protected void auditOperations(List<AuditLogChangesetEntity> changesetEntities)
auditOperations
in class AbstractBatchProcessor<org.hibernate.Session>
protected org.hibernate.Session getSession()
AbstractBatchProcessor
HibernateOperation
.getSession
in class AbstractBatchProcessor<org.hibernate.Session>
protected void clearSession()
clearSession
in class AbstractHibernateBatchProcessor<org.hibernate.Session>
protected void closeSession()
closeSession
in class AbstractHibernateBatchProcessor<org.hibernate.Session>
protected void flushSession()
flushSession
in class AbstractHibernateBatchProcessor<org.hibernate.Session>
protected org.hibernate.Session openSession()
openSession
in class AbstractHibernateBatchProcessor<org.hibernate.Session>
Copyright © 2021 Atlassian. All rights reserved.