startTransactionTrace

startTransactionTrace();

The startTransactionTrace method of the Process class initiates transaction tracing for transactions carried out by the receiving Process instance, which must be the current process. A transient instance of the JadeTransactionTrace class is created for the process, if one did not already exist, to store transaction information.

Transaction tracing can be started regardless of the current transaction state. If started while a transaction is active, only objects updated, created, and deleted after tracing is initiated are recorded. If the startTransactionTrace method is called when transaction tracing is already active, an exception is raised.

Existing trace information in the current transaction trace object is removed if the startTransactionTrace method is called when not in transaction state, or when the information does not relate to the current transaction. Stopping and starting transaction tracing within a transaction does not remove tracing information.