Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3634

SpringCacheManager should support null values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: spring
    • Labels:
      None

      Description

      Currently SpringCache.put() will fail if method marked with @Cacheable returns null. We should wrap null in a special value and save it in cache, so that next time the method is called, it is returned without executing the method.

        Attachments

          Activity

            People

            • Assignee:
              vkulichenko Valentin Kulichenko
              Reporter:
              vkulichenko Valentin Kulichenko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: