关于odf文件,写过一篇笔记,见:Oracle Apps ADODFCMP Utility, xdf和odf类似,都是数据库对象的描述文件,用于数据库表,视图,索引等等在不同数据库间的移植。根据NOTE:551325.1的说法,xdf将会逐步取代过去的odf,毕竟xdf的xml格式还是要比文本格式的odf有方便处理些。

xdf对应的执行文件是$JAVA_TOP/oracle/apps/fnd/odf2/FndXdfCmp(一java文件)

odf对应的执行文件是$AD_TOP/bin/adodfcmp(脚本语言)

xdf文件放在一般在patch/115/xdf目录下

而odf一般在patch/115/odf/下

xdf包含两个组件:FndXdfGen从源头数据库,生成对应的xdf对象;FndXdfCmp在目标数据库中执行xdf文件。

FndXdfCmp命令的使用

Usage of the Java Utility FndXdfCmp :

adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp <Oracle_Schema> <Oracle_Password> \
<apps_schema> <apps_password> <jdbc protocol> <JDBC_Connect_String> <Object Type> \
<full path to xdf file> <full path of $FND_TOP/patch/115/xdf/xsl>

possible Object Types are :
table, mview, view, synonym, index, trigger, comment, context, mviewlog, qtable, sequence, type, queue, policy, all

Mandatory Arguments :

  • Oracle_Schema : ORACLE schema name of the EBS module, e.g. FND, AD, GL, MFG.
  • Oracle_Password : ORACLE schema password of EBS module.
  • JDBC_Connect_String : The JDBC connection string to connect to the Database. It must include the <hostname>:<DB_Port>:<SID>

Optional Parameters

  • apps_schema / apps_password : The APPS schema name and APPS shcema password needs to be specified if it is not the default value of apps/apps.
  • ChangeDb : This Parameter inidcates, if the object definitions are written to the Database. Possible values are y / n (Default is y)
  • Logfile : The output is written to standard out. Specify a logfile name if it has to be written to a log file.
  • Data_Sec_Vpd : This is used to specify that a service security synonyms or view has to be created dynamically based on the database version. If the database version is 9 then a synonym is created else a view is created. Permitted values are data_sec_vpd=y

Example :

cd $FND_TOP/patch/115/xdf
adjava -mx512m -nojit oracle.apps.fnd.odf2.FndXdfCmp fnd <Password> apps <Password> thin \
<hostname>:<db_port>:<db_sid> all fnd_usr_roles.xdf $FND_TOP/patch/115/xdf/xsl

Reference:Metalink Note 551325.1 - How to verify or create a Database Object using a odf (adodfcmp) or xdf (FndXdfCmp) file ?

odf-File and xdf-File相关推荐

  1. libgstreamer-1.0.so.0: cannot open shared object file: No such file or directory

    1. 问题现象 error while loading shared libraries: libgstreamer-1.0.so.0: cannot open shared object file: ...

  2. android file mkdir,android file.mkdir()一直返回false问题

    今天想写本地日志,结果写文件的时候一直失败,报FileNotFound错误,很明显,就是文件创建失败的问题了,debug了一下,发现在创建路径的时候,file.mkdirs()就出问题了(这个方法相对 ...

  3. OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory 解决方法

    OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory 解决方法 检查cuda8是否安 ...

  4. 调用torchtext报错OSError: libtorch_cpu.so: cannot open shared object file: No such file or directory

    环境 torch版本1.4.0 报错 报错信息如题.调用torchtext报错 OSError: libtorch_cpu.so: cannot open shared object file: No ...

  5. File.separator或File.pathSeparator

    本文翻译自:File.separator or File.pathSeparator In the File class there are two strings, separator and pa ...

  6. libopencv_core.so: file not recognized: File format not recognized

    /dependencies/OpenCV348/lib/libopencv_core.so: file not recognized: File format not recognized 解决方法: ...

  7. libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

    安装完python3.7.5之后,pip3.7.5 install psutil --user 报错: libpython3.7m.so.1.0: cannot open shared object ...

  8. ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

    ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory 安装cuda9.1 安 ...

  9. caffe libcudnn.so.6: cannot open shared object file: No such file or directo

    更新cudnn版本至cuDNN v6 ImportError: libcudart.so.6.0: cannot open shared object file: No such file or di ...

  10. 【错误记录】IntelliJ IDEA 中 Java 代码中的中文注释报错 ( Menu / File / Settings / Editor / File Encodings 中修改工程编码 )

    文章目录 一.报错信息 二.解决方案 一.报错信息 在 IntelliJ IDEA 中 , 出现中文注释报错 ; Y:\002_WorkSpace\003_IDEA\Groovy_Demo\src\m ...

最新文章

  1. SAMBA配置文件所用到的参数
  2. mount and fstab的使用(整理)
  3. Android 性能优化 之谈谈Java内存区域
  4. Java——递归练习
  5. Android脚本打包
  6. Zigbee学习计划暂停
  7. jq和thinkphp经常使用的几种ajax
  8. [导入](原创)我和李昊原师兄优化的一个分页,用来应对200000条以下数据
  9. C++ Primer Plus学习(九)——内存模型和名称空间
  10. 优化理论07-----拟牛顿法、拟牛顿方程、对称秩二更新公式、BFGS、DFS、Broyden族、Huang’s Family
  11. 【docker系列】docker深入浅出之安装Nginx+PHP+MySQL
  12. 机器人巡线算法优化方案
  13. 堆栈平衡:估计这是最详细的讲解堆栈平衡的了
  14. 社工查询-最强社工查询网址汇总
  15. ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accurately
  16. Unrecognized Windows Sockets error: 10106: create 的解决
  17. Win7电脑右下角声音图标小喇叭出现红叉没有声音解决方案
  18. 汽车厂商集体大降价,谁更受伤?
  19. 计算机控制门禁,实验室智能门禁管理系统
  20. vs按f5没反应_迟到半年的提车作业,详细品鉴哈弗F5

热门文章

  1. 基于Python下Tkinter实现学生选课管理系统
  2. 医学图像处理开源软件集合
  3. NGUI之UITable
  4. linux命令学习之---- chgrp
  5. 干货丨excel单元格如何添加下拉选项?
  6. ODYSSEE-工业级智能实时仿真工具
  7. 学过c语言如何入门Python?
  8. 根据课表自动打开网课上课平台——Python实现
  9. 2020秋招金九银十程序员离职跳槽指南,作为过来人想对你们说这几点
  10. SDIO wifi Marvell8801/Marvell88w8801 介绍(七) ---- Marvell8801/Marvell88w8801实现搜索功能