db: severity: not to use deprecated escapeInteger/escapeString