Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Copying Oracle Table with XMLTYPE field from one DB to Another gives ORA-06553: PLS-306 error

I want to see if I can use Talend DI to copy from records from one Oracle DB to another (and then deleting the records from the source). This should run every five seconds or so

Basically, I'm trying to automate the

SELECT * FROM TABLE FOR UPDATE

The tables on both databases are similar in every way and have only 2 fields each:

RECID - VARCHAR

XMLRECORD - XMLTYPE

 

I used the DBInput and DBOutput components to define the input and output tables but when I run the job I get this error:

ORA-06553: PLS-306: wrong number or types of arguments in call to 'XMLTYPE'

I'm aware of the option to use the extract function to get specific fields out of the xml field. However, I want to copy the entire field as is. As in just dump data from one table to another.

I've attached my job definitions below.

 

0683p000009LzEV.png0683p000009LzSC.png0683p000009Lz5x.png0683p000009LzSH.png

Labels (3)
1 Reply
fdenis
Master
Master

hi,

Did you try to use document for xml type?