Class |
|
---|---|
Component |
|
The TransactionServlet
can be configured to cause each request to be wrapped in a transaction. By default, the TransactionServlet
’s transAttribute
property is set to supports
, which means a new transaction is not created for each request. In most circumstances, the transAttribute
property should remain set to supports
. In all cases, the TransactionServlet
checks to see if the request created a Transaction without ending it. If so, the servlet rolls back that Transaction and reports an error.