Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Team,
Currently i have a job which inserts records from Excel to Database.
To ensure records are entered into database i used below in tFixedFlowInput component :
((Integer)globalMap.get("tPostgresqlOutput_1_NB_LINE"))
((Integer)globalMap.get("tPostgresqlOutput_1_NB_LINE_UPDATED"))
((Integer)globalMap.get("tPostgresqlOutput_1_NB_LINE_INSERTED"))
((Integer)globalMap.get("tPostgresqlOutput_1_NB_LINE_DELETED"))
((Integer)globalMap.get("tPostgresqlOutput_1_NB_LINE_REJECTED"))
But it gives output as :
tLogRow_1 |
|=----+-------+--------+------=|
|count|updated|inserted|deleted|
|=----+-------+--------+------=|
|28336|0 |15027 |0 |
But no records are entered into database due to some error.So why such incorrect information?
Thanks & Regards,
Arvind Kumar Jha
I am using postgresql and there is no option as AutoCommit :
Hi,
Is your DB connection Ok with you? Is there any row rejected by your component tPostgresqlOutput? Can see your any data processing rate(rows/s) when execute your job?
Best regards
Sabrina
Hi Arvind,
I believe the records are passing to the target component but the data has not committed. please try to use tpostgresconnection component in the connection component advance setting please check the auto commit option or use tpostgresscommit component to commit the data into postgress table.