A UserTransaction
is used to execute all updates related to
a single request within the same transaction. It is obtained through
JNDI under the standard name java:comp/UserTransaction
.
DatabaseUtils provides convenience methods
for interacting with UserTransaction
s.