com.semarchy.mdm.runtime.model.integration
Interface IDBUpdateTaskDefinition

All Superinterfaces:
IDBTaskDefinition, ITaskDefinition

public interface IDBUpdateTaskDefinition
extends IDBTaskDefinition

Defines a database DML statement task definition that should return a row count as specified by JDBC. The engine will provide access to this row count in a scripting variable making it available in the ITaskDefinition.getPostExecuteAction() for populating engine's interpreter variables.

The engine will use the Statement.executeUpdate(String) to get the row count.

The engine should execute such tasks in the same transaction as the overall DML transactions. The isCommitPostExecute() method will force a commit on the connection after executing this task, thus committing all uncommitted previous DML tasks.

Author:
skamel

Method Summary
 boolean isCommitPostExecute()
           
 boolean isDeleteCounter()
           
 boolean isErrorCounter()
           
 boolean isInsertCounter()
           
 boolean isMergeCounter()
           
 boolean isUpdateCounter()
           
 
Methods inherited from interface com.semarchy.mdm.runtime.model.integration.IDBTaskDefinition
getSQL
 
Methods inherited from interface com.semarchy.mdm.runtime.model.integration.ITaskDefinition
getExecuteWhenCondition, getName, getPostExecuteAction, isErrorOK
 

Method Detail

isCommitPostExecute

boolean isCommitPostExecute()
Returns:
indicates whether the transaction of the current DB task should be committed post execution or not

isInsertCounter

boolean isInsertCounter()
Returns:
indicates whether this task contributes to the overall INSERT counter of a job report

isUpdateCounter

boolean isUpdateCounter()
Returns:
indicates whether this task contributes to the overall UPDATE counter of a job report

isDeleteCounter

boolean isDeleteCounter()
Returns:
indicates whether this task contributes to the overall DELETE counter of a job report

isMergeCounter

boolean isMergeCounter()
Returns:
indicates whether this task contributes to the overall MERGE counter of a job report

isErrorCounter

boolean isErrorCounter()
Returns:
indicates whether this task contributes to the overall ERROR counter of a job report


Copyright © 2015. All Rights Reserved.