How to ignore unique violation during insert list of objects which contain set of object
Handle this dirty by Exceptions.
Try to Update the Database, if fine break here. Catch the UniqueViolationException and find the JDBCException. Upcast to your qualified Database Exception and find the broken Children.
Remove the Children from the Parent.
Go to 1.