MauroDataMapper / mdm-core

The backend of MDM
Apache License 2.0
7 stars 3 forks source link

Add batching to potentially large deletion operations #391

Closed jamesrwelch closed 1 year ago

jamesrwelch commented 1 year ago

Fixes #354 by breaking large delete statements into smaller ones. This means that the error: Tried to send an out-of-range integer as a 2-byte value doesn't get thrown and the database connection doesn't get closed. Some details here: https://github.com/pgjdbc/pgjdbc/issues/1311.