ORA-02074: cannot string in a distributed transaction
Cause: A commit or rollback was attempted from session
other than the parent of a distributed transaction.Action: Only commit or rollback from the parent session 已经说的很明白了,只能在主会话中提交或回滚事务,或者启用
自治的事务.
PRAGMA AUTONOMOUS_TRANSACTION
Cause: A commit or rollback was attempted from session
other than the parent of a distributed transaction.Action: Only commit or rollback from the parent session 已经说的很明白了,只能在主会话中提交或回滚事务,或者启用
自治的事务.
PRAGMA AUTONOMOUS_TRANSACTION
这个可能也是问题之一。
使用toad等工具进行调试,以便发现错误来源。