LPS-31833 fix oracle for sql (distinct and CLOB)

Same pattern as in journal.xml line 338