For container-managed transactions, you can use the Administration Console to configure the transaction timeout interval. See Starting the Administration Console.
For enterprise beans with bean-managed JTA transactions, you invoke the setTransactionTimeout method of the UserTransaction interface.
To Set a Transaction TimeoutWith this setting, if the transaction has not completed within 5 seconds, the EJB container rolls it back.
The default value is 0, meaning that the transaction will not time out.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4