in reply to Re: Skip problematic lines while populating database
in thread Skip problematic lines while populating database
And this has the useful advantage of letting you know which, and how many, INSERT statements actually had problems. An exception is thrown, and you "eat" it.