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.
Chapter 2, “Understanding Transactions and Component Lifecycles,” in the EAServer Programmer’s Guide
Copyright © 2005. Sybase Inc. All rights reserved. |