createTranDocument() throws Exception

Creates a document with the <tran> element, to contain multiple database operations in a transaction. Returns a String, the Element of the current event.

Syntax

org.dom4j.Element createTranDocument
      (java.lang.String uri,java.lang.String dbname, 
       java.lang.String eventId)

Parameters

  • uri – the URI of dbevenstream.xsd.
  • dbname – the database on which the operation executes.
  • eventId – the event ID of the current transaction. The uniqueness of eventId is the responsibility of the sending client.