Uploaded image for project: 'iBatis for Java [READ ONLY]'
  1. iBatis for Java [READ ONLY]
  2. IBATIS-489

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            colus Eung-ju PARK
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: