2017-10-04 48 views
0

我正在嘗試導入區域,使用oracle.jrad.tools.xml.importer.XMLImporter命令。oracle.jrad.tools.xml.importer.XMLImporter WITH ORA-01704:字符串文字太長

,但我得到:

ORA-01704: string literal too long

Copyright (c) 2002 Oracle Corporation 
         Redwood Shores, California, USA 
            AD Java 
           Version 11.5.0 
NOTE: You may not use this utility for custom development 
     unless you have written permission from Oracle Corporation. 
Reading product information from file... 
Reading language and territory information from file... 
Reading language information from applUS.txt ... 
    Temporarily resetting CLASSPATH to: 
    "/u001/oracle/env04appl/ad/11.5.0/java/adjri.zip:/u002/jdk/jdk1.6.0_121/jre/lib/rt.jar:/u002/jdk/jdk1.6.0_121/lib/dt.jar:/u002/jdk/jdk1.6.0_121/lib/tools.jar:/u002/jdk/jdk1.6.0_121/jre/lib/charsets.jar:/u001/oracle/env04comn/java/appsborg2.zip:/u002/oracle/env04ora/8.0.6/forms60/java:/u001/oracle/env04comn/java" 
    Calling /u002/jdk/jdk1.6.0_121/bin/java ... 
Importing /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14 
Error:  

ORA-01704: string literal too long 
Import completed. 
AD Run Java Command is complete. 

它的工作對我的其他地區,但是這一次它沒有

jdr_utils.printDocument(p_document => '/gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14'); 

回報

Error: Could not find document /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14

,是什麼引發這個?

UPDATE 如果我與-displayOnly標誌運行它,我沒有得到錯誤

     Copyright (c) 2002 Oracle Corporation 
         Redwood Shores, California, USA 

            AD Java 

           Version 11.5.0 

NOTE: You may not use this utility for custom development 
     unless you have written permission from Oracle Corporation. 

Reading product information from file... 

Reading language and territory information from file... 

Reading language information from applUS.txt ... 
    Temporarily resetting CLASSPATH to: 
    "/u001/oracle/env04appl/ad/11.5.0/java/adjri.zip:/u002/jdk/jdk1.6.0_121/jre/lib/rt.jar:/u002/jdk/jdk1.6.0_121/lib/dt.jar:/u002/jdk/jdk1.6.0_121/lib/tools.jar:/u002/jdk/jdk1.6.0_121/jre/lib/charsets.jar:/u001/oracle/env04comn/java/appsborg2.zip:/u002/oracle/env04ora/8.0.6/forms60/java:/u001/oracle/env04comn/java" 

    Calling /u002/jdk/jdk1.6.0_121/bin/java ... 
Validating /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14 

Documents and Package Files that will be imported: 
    /gir/oracle/apps/xxrh/selfservice/sq/rh23286/maj/webui/EnteteArmeElectImpulRefRN14 

AD Run Java Command is complete. 
+0

感謝@Paul T.的編輯,這是我的第一篇文章 –

回答

0

想通了, 我有一個rawText項目在它7160個字符。刪除它解決了我的問題。