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",
And this is the implementation for LoaderApi:
List<LoaderError> errors = executeResult.errors();
errors.forEach(loaderError -> LOGGER.log(Level.SEVERE, "Error while writing
Do you have some advises or is this the right way to handle errors in the
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
For more options, visit https://groups.google.com/d/optout.