I am using JDBC with mysql. I can make my queries work fine. But for update requests, for example, I was wondering if there was a way to determine if the update was successful, for example, if the row was not found.
UPDATE TABLE SET column = 'newvalue' WHERE primary_key =2
I would like to receive a specific error message, if possible, this way I can indicate a specific exception, why the request failed.
Thank you for your help.
source share