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

FinderCache isn't using cached values when using null values in a null convertible string column

    Details

    • Fix Priority:
      1

      Description

      When calling methods like JournalContentSearchPersistenceImpl.fetchByG_P_L_P_A with, for example, articleId as null the retrieved result is cached with the empty string for articleId in the key. But when retrieved it uses null as finderArg, so the database is always queried turning out in a memory waste and performance issue.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  1 year, 28 weeks, 4 days ago

                  Packages

                  Version Package