JagInTransaction

Description

Determine whether the current method is executing in a transaction.

Syntax

JagBoolean JagInTransaction();

Usage

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.

See also

JagIsRollbackOnly

Chapter 2, “Understanding Transactions and Component Lifecycles,” in the EAServer Programmer’s Guide