XMLExtract + a value from java code for DBOutputTable

Hi *

I need to upload an XML file to a database table. For this i am using XMLExtract and DBOutputTable component. I am running this graph from JAVA code.

The problem is that i need to insert an ID value as well along with the data which is in XML file. This ID is obtained at runtime and in JAVA code. Is it possible to pass this ID along with the data read from XML file and all togather to insert this in database.

Any help/example…

Best Regards

crfpkr

Hello,
you can add Reformat component, with your DataRecordTramsform class, between Reader and Writer. Reformat can add the value to the extracted metadata and send it to the DBOutputTable.