how to pass primary key in dynamic schema approach

Five Stars

how to pass primary key in dynamic schema approach

Hi,

 

I am trying to load data from multiple tables to target tables using dynamic schema approach. My job flow will look like this.

 

toracleConnection-->tOracleTableList-->tOracleInput-->tmap-->toracleOutput

 

I have defined dynamic type schema in input component and trying to load data into output. but my job is getting failed due to Primary key issue. it is throwing error that primary key is needed to insert/update data in output and of course it sound logical it is expecting so.

 

Can someone help here how to pass primary key dynamically for each table that I'm getting from Table list component.

 

thanks in advance!!

Moderator

Re: how to pass primary key in dynamic schema approach

Hello,

Could you please have a look at this related topic:https://community.talend.com/t5/Design-and-Development/Dynamic-schema-no-primary-key/m-p/51876?

Let us know if it doesn't work for you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.