com.univocity.api.entity.custom
Class TransactionalOperation

java.lang.Object
  extended by com.univocity.api.entity.custom.TransactionalOperation

public abstract class TransactionalOperation
extends Object

A TransactionalOperation is created by uniVocity before applying data changes to entities of all data stores that are affected by each data mapping within a cycle (see DataIntegrationEngine.executeCycle()).
These data changes are performed inside the execute() method when uniVocity invokes CustomDataStore.executeInTransaction(TransactionalOperation).

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
CustomDataStore

Constructor Summary
TransactionalOperation()
           
 
Method Summary
abstract  void execute()
          Executes a transactional operation prepared by uniVocity when executing a each mapping in DataIntegrationEngine.executeCycle().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalOperation

public TransactionalOperation()
Method Detail

execute

public abstract void execute()
Executes a transactional operation prepared by uniVocity when executing a each mapping in DataIntegrationEngine.executeCycle().

Note each data mapping in the cycle has its own independent TransactionalOperation. A failure in one of the mappings in the cycle will not revert changes made in mappings already executed.



Copyright © 2015 uniVocity Software Pty Ltd. All rights reserved.