Not applicable

INSERT DATA INTO MONGO SERVER

Hi,
We want to insert some data in a mongo db server ,can anyone help us with a small example for how to do this?
we have downloaded the required components tMongoDBConnection,tMongoDBOutput and tMongoInPut ,will we require any other components?
Thanks and Regards,
--Koustubh Avadhani
9 REPLIES
Community Manager

Re: INSERT DATA INTO MONGO SERVER

Hi
No, you don't requires any other components, just use these components as you did on general DB component, such as tMysqlInput..., these component are shared by cf357 on Talend exhange, feel free to post your questions if you have troubles.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Not applicable

Re: INSERT DATA INTO MONGO SERVER

Hi Shong,
Thanks for the reply.
1.We are new to mongo db server so in the component tMongoDBOutput what should be the entry in collection?
2.We want to create job now where i have to get the Data from a oracle table and load it into a mongo db server.
Can you please suggest us how to get this done?
Thanks and Regards,
--Koustubh Avadhani
Community Manager

Re: INSERT DATA INTO MONGO SERVER

Hi
This is a custom component developed by Talend user, if you have any questions on mongo db, you can contact directly author Adrien Mogenet <adrien.mogenet@gmail.com>,
To your second question, the example job is rather simple, for exmaple:
tOracleInput--main-->tMongoDBOutput
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: INSERT DATA INTO MONGO SERVER

I have been downloaded tMongoDBConnection,tMongoDBOutput and tMongoInPut but... where can i add this connector to talend open studio?
I don't find what I must do with these three files...
Any tutoriel? Any help?
Thanks!
One Star

Re: INSERT DATA INTO MONGO SERVER

i wand to use tMongoDBInput in talend but i dont know how to retrive schema .decause their is no DB Type MONGODBCONNECTION IN metadata.pls help.i awaited for this
Regards,
Naveen Dewase
Community Manager

Re: INSERT DATA INTO MONGO SERVER

Hi
decause their is no DB Type MONGODBCONNECTION IN metadata.pls help.i awaited for this

Yes, there is no DB TYPE MONGODBCONNECTION, try to create a JDBC type for MONGODB. You can download the driver from
https://github.com/mongodb/mongo-java-driver/downloads
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: INSERT DATA INTO MONGO SERVER

thanks for reply
but i have download this driver then what next .
regards
naveen
Community Manager

Re: INSERT DATA INTO MONGO SERVER

Hi
First, you need to learn how to create a JDBC type connection, as a newbie, take Mysql or other DB type for testing!
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: INSERT DATA INTO MONGO SERVER

HI ,
I HAVE MONGO DB "MKYONGDB" ON PORT 28017 AND TABLE OR COLLECTION naveen
username "administrator",password -ram101 so how to connect to db pls give me screen shots.
and how to retrieve "naveen" table.
Regards,
Naveen Dewase