You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Eung-ju PARK (JIRA)" <ib...@incubator.apache.org> on 2008/02/25 04:02:51 UTC

[jira] Created: (IBATIS-489) CacheModel.NULL_OBJECT should be Serializable to be used with non-in-memory caches

CacheModel.NULL_OBJECT should be Serializable to be used with non-in-memory caches
----------------------------------------------------------------------------------

                 Key: IBATIS-489
                 URL: https://issues.apache.org/jira/browse/IBATIS-489
             Project: iBatis for Java
          Issue Type: Bug
          Components: SQL Maps
    Affects Versions: 2.3.0
            Reporter: Eung-ju PARK


I'm writing memcached CacheController. I've meet a problem. If result of a queryForObject is null, CacheModel tries to store NULL_OBJECT on cache. But NULL_OBJECT is not serializable so memcached client throws "IllegalArgumentException: Non-serializable object".

NULL_OBJECT should be Serializable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (IBATIS-489) CacheModel.NULL_OBJECT should be Serializable to be used with non-in-memory caches

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/IBATIS-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clinton Begin closed IBATIS-489.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.1

> CacheModel.NULL_OBJECT should be Serializable to be used with non-in-memory caches
> ----------------------------------------------------------------------------------
>
>                 Key: IBATIS-489
>                 URL: https://issues.apache.org/jira/browse/IBATIS-489
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: SQL Maps
>    Affects Versions: 2.3.0
>            Reporter: Eung-ju PARK
>             Fix For: 2.3.1
>
>
> I'm writing memcached CacheController. I've meet a problem. If result of a queryForObject is null, CacheModel tries to store NULL_OBJECT on cache. But NULL_OBJECT is not serializable so memcached client throws "IllegalArgumentException: Non-serializable object".
> NULL_OBJECT should be Serializable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.