Oracle OAF XML文件导入导出

1. 导出PG文件

由于标准的PG文件是放在数据库的,所以在服务器上是无法直接找到的,需要把xmlpg文件export出来,方法是:在服务器上执行以下命令:

java oracle.jrad.tools.xml.exporter.XMLExporter //ebs10/apps/apps_st/comn/java/classes/oracle/apps/pos/ship/webui/PosAsnLotPG -rootdir /u03/dev/apps/apps_st/comn/java/classes -username apps -password apps -dbconnection "192.168.102.11:1561:DEV"

2.导入PG文件

Java oracle.jrad.tools.xml.importer.XMLImporter /ebs10/apps/apps_st/comn/java/classes/oracle/apps/pos/ship/webui/PosAsnCreatePG.xml -rootdir /ebs10/apps/apps_st/comn/java/classes -username apps -password apps -dbconnection "192.168.102.11:1561:DEV"


另外一种导入PG.xml文件:

先定位导入文件的位置:

cd /ebs10/apps/apps_st/comn/java/classes/oracle/apps/pos/ship/webui

再执行导入:
        java oracle.jrad.tools.xml.importer.XMLImporter PosDelivSchedVO.xml  -rootdir $JAVA_TOP -username apps -password appsapps -dbconnection "(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.17.17.22)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = dev)))"


你可能感兴趣的:(oracle,pg,oaf)