Loading sql tables to an xml file using Talend with schema defined at runtime

StackOverflow https://stackoverflow.com/questions/22177761

  •  03-06-2023
  •  | 
  •  

Вопрос

I'm a bigginner at Talend,and I'm trying to load a database into an XML file, and that must be done automatically.So I don't have to specify any schema for the xml file all must be generated, because I'll have to use that XML file in other jobs. Is that possible using Talend ? and how can I do it ?

Thank you for your answers.

Это было полезно?

Решение

This is not possible by the very inner design of Talend: every schema (db, xml, delimited-files...) must be defined at compile time. It's not possible to detect it at runtime. You could try a complete java-solution using a user routine and some custom code, but this will move to a complete java-based solution, outside from Talend scope (and very inelegant and time-consuming, in my opinion). If it's your case, you probably should redesign your process.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top