Determine whether the current method is executing in a transaction.
JagBoolean JagInTransaction();
Methods can call JagInTransaction to determine whether they are executing within a transaction. Methods in components that are declared to be transactional always execute as part of a transaction.