我正在尝试将 ODI 步骤错误消息插入到 oracle 表中。我使用<%=odiRef.getPrevStepLog("MESSAGE")%>
.
ODI-1226: Step PRC_POA_XML_synchronize fails after 1 attempt(s).
ODI-1232: Procedure PRC_POA_XML_synchronize execution fails.
ODI-1227: Task PRC_POA_XML_synchronize (Procedure) fails on the source XML connection XML_PFIZER_LOAD_POA_DB_DEV.
Caused By: java.sql.SQLException: class java.sql.SQLException
oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'tns3:ContctID'.
at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.readDocument(SnpsXmlFile.java:459)
at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.readDocument(SnpsXmlFile.java:469)
当我尝试将其插入表中时,出现以下错误:
Missing IN or OUT parameter at index:: 1
我试过了substr
,replace
。在错误消息中间没有任何作用,我们有一个单引号'tns3:ContctID'
。
有没有办法将它插入到表中?