For using JTA tech,you should integrate JTA,and make the resources support XATransaction. Emm~~~~,It sounds a good idea to do that,but first of all,if your systems based on oracle,you have should granted session transaction priviledges to your access user. Then,you jta will run well.
grant select on pending_trans$ to tom;
grant select on dba_2pc_pending to tom;
grant select on dba_pending_transactions to tom;
grant execute on dbms_system to tom;
grant execute on dbms_xa to tom;
总结
如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。