Hello Lukas, we use mssql Server. I expected a exception if i make an update and the expected primary key does not exist... But mssql and postgres tells the user only that "0 rows affected"... so there is no error ~~
The Loader Api (we use it for inserts) returns a List of LoaderError this feels quite easier to handle. This is the implementation for batchUpdate: for (int i = 0; i < execute.length; i++) { if(execute[i] == 0) LOGGER.log(Level.SEVERE, String.format("Error while update :\n %s", records.get(i).toString())); } And this is the implementation for LoaderApi: List<LoaderError> errors = executeResult.errors(); if (!errors.isEmpty()) { errors.forEach(loaderError -> LOGGER.log(Level.SEVERE, "Error while writing to database" , loaderError.exception())); } Do you have some advises or is this the right way to handle errors in the respective api's? Cheers, Matthias -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.