ORA-02041: 客户数据库未开始一个事务处理

wuyaxlz 2004-04-05 02:40:09

我在数据库间连结后,向对方数据库插入数据时!
但是数据库(test)调试时没问题!我用的是pl/sql develop
...全文
66 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
wuyaxlz 2004-04-06
  • 打赏
  • 举报
回复
执行DB2
4楼应该有写
Interliu 2004-04-06
  • 打赏
  • 举报
回复
新幹線は 最高時速(さいこうじそく) 220(にひゃくにじっ)キロメートルです。
doer_ljy 2004-04-06
  • 打赏
  • 举报
回复
应用程序调用时,你用的那个用户?DB1还是DB2
wuyaxlz 2004-04-06
  • 打赏
  • 举报
回复
当我在向联接的数据库插入数据时
如:我有数据库db1,db2
db1中有表 table1
db2 中执行insert into table1@db2 values(***,***,sysdate);
他就出现了!
不过只是在应用程序调用时!我用的是pl/sql develop
里面有一个test的工具,这里测试是没问题的
关键还是“ORA-02041: 客户数据库未开始一个事务处理”
doer_ljy 2004-04-05
  • 打赏
  • 举报
回复
好像是在一个存储过程commit以后,紧接着作了update。谁是发生在分布式事务处理和external transaction的时候。
具体在什么条件下发生?
wuyaxlz 2004-04-05
  • 打赏
  • 举报
回复
有没有中文!
ern 2004-04-05
  • 打赏
  • 举报
回复
ORA-02041 client database did not begin a transaction


Cause: An update occurred at a coordinated database without the coordinator beginning a distributed transaction. This may happen if a stored procedure commits and then performs updates, and the stored procedure is invoked remotely. It could also happen if an external transaction monitor violates the XA protocol.

Action: If the cause is the former, check that any commit is not followed by an update.

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧