ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Wasmus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-374) SpringCache should support null values
Date Fri, 27 Feb 2015 14:37:05 GMT
Hans Wasmus created IGNITE-374:
----------------------------------

             Summary: SpringCache should support null values
                 Key: IGNITE-374
                 URL: https://issues.apache.org/jira/browse/IGNITE-374
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Hans Wasmus


When using @Cacheable on a method which returns null, it will try to put a empty value in
the cache. F0.asMap does not support null values, so an exception is raised.
We can use "unless" in the Cacheable annotation, but it will bypass the cache all together.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message