Leonard AnghelJan 6, 20202 min readHow To Batch Deletes That Don't Involve AssociationsMotivation: Doing batch correctly, especially against MySQL, requiers several settings. Moreover, Spring Data deleteAllInBatch() and...
Leonard AnghelJan 5, 20202 min readHow To Batch Deletes Via orphanRemoval=trueMotivation: In delete batching, the DELETE statements are not sorted at all and this causes more batches than needed for this job. Using...
Leonard AnghelJan 5, 20202 min readHow To Batch Deletes Via SQL ON DELETE CASCADEMotivation: You search for a fast solution to delete the parents and cascade deletion to the associated children. The SQL, ON DELETE...