文档解释
ORA-02040: remote database string does not support two-phase commit
Cause: the database was potentially updated but does not support prepare to commit (as determined by its logon transaction traits). The transaction was rolled back.
Action: Do not attempt to update the remote database unless it is the only database updated in one transaction.
这是一个Oracle数据库的错误,其官方解释是:ORA-02040错误表示远程数据库字符串不支持两阶段提交。
案例:当你在使用Oracle数据库时,试图在两个本地数据库之间使用两阶段提交时,出现这个错误。