How JTA/JTS handle transaction time out issue?

…衆ロ難τιáo~ 提交于 2019-12-04 12:23:43

Tested, and proved that my understand should be correct.

Summarize the result as below:

• Transaction timeout control only affects transactional activities (Ex: access DB/ send JMS message).

• Application server do not interrupt current transaction thread immediately while timeout occurs, instead, application server only log down the detail. Timeout exception will throw while transaction commit or attempt to access next transactional activities.

• DB deadlock issue cannot be handled by transaction timeout control. But DB2 have deadlock prevent mechanism to release the deadlock and roll back transaction for some cases.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!