I have a simple xls file (excel), I have a column N_ENR which contains numeric values (the primary keys from a table).
I'm using Talend.
Now, I want to save all the records into a potgreSQL table (table client), the problem is that my output table (table client) generates new ids, the other columns are mapped correctly (address, date, phoneNumber, ...).
I changed the type of the primary key (id column) to serial, still didn't work.
Any suggestions ? Thank you.
If you are able to change the type of the PK column change it to 'int' and then map your source ID to that column.