I am trying extract xml data from xml file to mongodb. The flow like below.
1.step Extract data from xml
2.step Call xmltoJson function and convert the data from xml to json(tjava)
4.step load data into table via tMongoDBOutput component.
I can manage to insert the data to the table at "insert" mode(pic-4). But when I only change the mode to "Upsert", it doesn't Update the same data and it creates a new row with "_id" column is NULL(pic-5).
I can set a value to "_id" column while inserting but when I try to upsert I can not manage it. It sets NULL value to "_id" column.
Another question is Talend Studio doesn't let me to change "Json Configuration Tree". It is disabled. I am using free version. Do you know why?
Thanks for help from now.
The JSON tree map will be configurable in " built-in" mode not "Repository" mode
As I mentioned before, the JSON tree map will be configurable in " built-in" mode not "Repository" mode. What's the problem are you facing?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Find out how to migrate from one database to another using the Dynamic schema
Learn how to make your data more available, reduce costs and cut your build time
Read about OTTO's experiences with Big Data and Personalized Experiences