com.atlassian.crowd.util.persistence.hibernate.batch.hibernate4.operation
Class MergeOperation

java.lang.Object
  extended by com.atlassian.crowd.util.persistence.hibernate.batch.hibernate4.operation.MergeOperation
All Implemented Interfaces:
HibernateOperation

public class MergeOperation
extends Object
implements HibernateOperation

Hibernate Operation to merge entities in batch

NOTE: don't use merge for entities without single IDs.


Constructor Summary
MergeOperation()
           
 
Method Summary
 void performOperation(Object object)
          Interface to logic that performs a single hibernate operation on a target object for use within a batch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeOperation

public MergeOperation()
Method Detail

performOperation

public void performOperation(Object object)
                      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 interface HibernateOperation
Parameters:
object - perform the operation on this object
Throws:
org.hibernate.HibernateException


Copyright © 2013 Atlassian. All Rights Reserved.