Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
BNP
Contributor
Contributor

Update or insert rows in mysqloutput

Hi,

 

I'm new to this talend. I'm using torachleinput component and tlogrow, tmysqloutput component. whatever update or insert done in the oracle database. Those data transfer into the MySQL database. I have update some data in oracle database and also inserted some new rows. But when I'm selected insert or update in action on data, in MySQL. it's not updated and it's inserted as a new record. it's not update exiting record. Can help this

 

Thanks in advance.

 

 

Labels (4)
5 Replies
manodwhb
Champion II
Champion II

do you have key column I'm tmysqloutput component in the schema otherwise it will always inserts.
BNP
Contributor
Contributor
Author

Hi manodwhb,

 

thanks for your replaying

Yes, I have selected it. otherwise its giving error. while updating the records

 


Capture.GIF
manodwhb
Champion II
Champion II

Do you have primarykey on same key column indatabase side too?
BNP
Contributor
Contributor
Author

Yes. 

manodwhb
Champion II
Champion II

Can you share your tmysqloutput schema screenshot ?