首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > 远程调用PACKAGE时,远端的PACKAGE不能有COMMIT/ROLLBACK
【标  题】:远程调用PACKAGE时,远端的PACKAGE不能有COMMIT/ROLLBACK
【关键字】:PACKAGE,PACKAGE,COMMIT/ROLLBACK
【来  源】:http://www.cublog.cn/u/16666/showart.php?id=99122

远程调用PACKAGE时,远端的PACKAGE不能有COMMIT/ROLLBACK

  通过DBLINK远程调用PACKAGE,远端的PACKAGE中有COMMIT/ROLLBACK,那么将导致ORA-2064的错误,需修改应用的逻辑或者把远端的PACKAGE建立在本地。
  详见:
 
Problem Description:
====================
  
You are operating a distributed environment. 
 
You have a remote package created for DML processing.  When the
package is executed at the local site it works, but on the on the remote
master site it fails with ORA-2064.
 
However, when you resubmit the package locally at that remote site the package
works.

Search Words:
=============
remotely procedure procedural call rpc plsql
Solution Description:
=====================
 
 
The DML package included a COMMIT. 
 
A remote procedure call (RPC) cannot contain a commit.
 
At the time that the package is resubmitted at the local site, it
is no longer an RPC and executes.
 
RAC下修改oracle归档模式:【上一篇】
Aix下使用rman备份Oracle RAC数据库:【下一篇】
【相关文章】
  • Generating/Installing Ubuntu packages for the newer 8.23.7 drivers in Breezy Badger
  • samba/Binary_Package for IRIX 下载地址
  • JS的package/import机制的考察提纲(草稿)
  • package 与 import
  • apt-get "The following packages have been kept back"提示的解决
  • Package java.util.concurrent(并发) Description
  • Oracle 系统package
  • How to Use DBMS_SUPPORT Package-ORACLE
  • PL/SQL Packages and Types Reference 47
  • Oracle9i Supplied PL/SQL Packages and Types Refere
  • 【随机文章】
  • 批量汉字转内码
  • C#编码标准 - 指导和最佳实践
  • Ajax 裸奔之一
  • 感受jpa
  • TC 脚本
  • 学数学也要学点偷懒的技术
  • Linux网络编程(一)
  • 清除CISCO路由器密码
  • 3类50对多对数双绞线(305米/轴)
  • 协议开发 中移动CMPP2.0协议API(二)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.