An EJB Server transaction is a transaction whose boundaries and outcome are determined by EJB Server. Components can be marked as transactional in the Adaptive Server plug-in. If a component is transactional, the EJB Server transaction manager ensures that the component’s third-tier database queries execute as part of a transaction. Multiple components can participate in an EJB Server transaction; the EJB Server transaction manager ensures that all database changes performed by the participating transactions are all committed or rolled back.
All transactions are defined by the ACID test:
Atomic If a transaction is interrupted, all changes that the transaction has made are cancelled or rolled back.
Consistent A transaction produces results that preserve invariant properties.
Isolated A transaction’s intermediate states cannot be monitored or changed by other transactions; transactions execute their results one after another.
Durable The changes that a transaction completes are permanent.