ORA-24773: invalid transaction type flags
Cause: OCI_TRANS_TIGHT or OCI_TRANS_LOOSE mode was not specified.
Action: Verify that the right parameters are being used.
ORA-24773错误是由于在执行事务类型时规定的标志(flag)无效或不正确所引发的。
ORA-24773: invalid transaction type flag
Cause: When performing a transaction type operation, the flag specified was invalid or incorrect.
Action: Check the flag specification and retry the command.
使用DBMS_XA包中的函数,传入该函数参数时可能会出现ORA-24773错误:
begin
dbms_xa.StartXA (xid => NULL, flags => DBMS_XA.GTR);
end;
可以识别发生ORA-24773错误的函数,检查该函数的入参,特别是flags参数时有误,修正后重新执行尝试即可。