Hi,
When we do a batch insert of about 1000 records and if any one record fails in between, is there any way that we ignore that particular record and have other records inserted succesfully.
Please suggest if there is any other smart method to handle this.
no that is not possible (as far as i know). Maybe it is a good idea to validate your data before inserting, because then you know that all your fields have the right content/lenght and the insert will be always successfull.
Validating your data before hand will work if you can guarantee that there will still be no database insert failure with the valid data (i.e. duplicate row exception).
The performance will definitely degrade with single insert/commit operations, but at least you know the data will go in for 999 of the 1000 rows, and you can catch the errors of why that 1 row didn’t commit.