Class MergeOperation
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.batch.hibernate5.operation.MergeOperation
- All Implemented Interfaces:
HibernateOperation<org.hibernate.Session>
Hibernate Operation to merge entities in batch
NOTE: don't use merge for entities without single IDs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
performOperation
(Object object, org.hibernate.Session session) Interface to logic that performs a single hibernate operation on a target object for use within a batch.
-
Constructor Details
-
MergeOperation
public MergeOperation()
-
-
Method Details
-
performOperation
public void performOperation(Object object, org.hibernate.Session session) throws org.hibernate.HibernateException Description copied from interface:HibernateOperation
Interface to logic that performs a single hibernate operation on a target object for use within a batch.- Specified by:
performOperation
in interfaceHibernateOperation<org.hibernate.Session>
- Parameters:
object
- perform the operation on this object- Throws:
org.hibernate.HibernateException
-