Better error messages when sql2o crashes when attempting to fetch generated keys from database with a batch operation.