-
Aug 7th, 2011, 01:30 PM
#1
Eliminating duplicate records before writing to DB
Any suggestions on how to eliminate duplicate records before passing it to the writer.
I tried implementing ItemWriter but its called as many times as the number of source records if injected into the chunk as writer.
Thanks
AN
-
Aug 8th, 2011, 07:34 AM
#2
I believe the only way to do is to dump the whole file into a temp table in step one. And then do a self join and a write to final database in second step.
step 1: File to DB
step 2: DB to DB
Nik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules