NonStop Server for Java 7.0 Programmer's Reference

NSJ Transaction API supports all of the preceding interfaces, but only UserTransaction is
available for client programs.
UserTransaction allows the client to control transaction boundaries programmatically.
UserTransaction methods perform the following:
Begin transaction
Commit transaction
Obtain transaction status
Mark transaction for rollback
Rollback transaction
Set timeout for transaction
javax.transaction exceptions
Oracle JTA package (javax.transaction), defines the following exceptions.
HeuristicCommitException
HeuristicMixedException
HeuristicRollbackException
InvalidTransactionException
NotSupportedException
TransactionRequiredException
TransactionRolledbackException
SystemException
NSJ Transaction API supports all of the preceding exceptions.
Examples
The following examples are similar except that:
The first example uses Example 17 (page 85).
The second example requests Example 18 (page 85).
84 Transactions