SONAR-5529 Fix issue on MySQL when adding a comment
SONAR-5697 Improve error handling when doing a getByKeys