db2 support

This commit is contained in:
thinkgem
2018-09-20 23:04:09 +08:00
parent d5d05050e3
commit 2fd28e18f9
3 changed files with 918 additions and 28 deletions

View File

@@ -1,15 +0,0 @@
create user jeesite
identified by jeesite
quota unlimited on users;
grant connect,resource,create session,select any table,
create any view,create any table,create any index,
drop any table,drop any view,drop any index
to jeesite;
-- 多数据源分布式事务下需要对目标用户进行如下授权否则会提示错误ResourceException: Error in recovery
grant select on sys.dba_pending_transactions to jeesite;
grant select on sys.pending_trans$ to jeesite;
grant select on sys.dba_2pc_pending to jeesite;
grant execute on sys.dbms_system to jeesite;