Adds the database operation to the current event, either <tran> element or <dbEvent> element. If the event type exists and it already contains an operation, addOperation()throws Exception returns null. Otherwise, it returns a String, the Element of the current operation.
org.dom4j.Element addOperation(java.lang.String operName, java.lang.String schemaName)
operName – the name of the SQL operation, such as insert, update, delete, exec.
schemaName – the name of the target table.