For Oracle blob can't be converted to string and vice-versa. Changed query sql and query def column types in query audit logs and saved queries tables respectively to clob type