You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Hans Wasmus (JIRA)" <ji...@apache.org> on 2015/02/27 15:37:05 UTC

[jira] [Created] (IGNITE-374) SpringCache should support null values

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)