Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66156

Apply CAST_CLOB_TEXT to necessary columns in custom finders

    Details

    • Fix Priority:
      3

      Description

      We should apply CAST_CLOB_TEXT pseudo function to the following table columns that are used in queries of custom finders for filtering results:

      JournalArticle.content
      JournalArticle.description
      DLFileEntry.extraSettings
      DLFileVersion.extraSettings
      

      Basically this is needed for any CLOB type columns used in WHERE clauses of queries in order to avoid getting ORA-00932 and ORA-00920 errors when using Oracle database.

      The pattern for this can be seen in this commit, where it was applied for PortletPreferences.preferences

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 20 weeks, 1 day ago

                  Packages

                  Version Package