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

CacheKey does not support byte[] in statement

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 2.3.4
    • None
    • Core
    • None
    • windows and linux

    Description

      I have a select staement that has a Where cluase the gets a byte[].

      Now, if I set the same byte[] instance I enjoy the cache.

      However, if I have different instnaces for the byte[] with identical content
      (i.e. Array.equals(b1,b2) returns true, but b1.equals(b2) returns false),
      then I see "missed cahce".

      Need an urgent fix so we can use the cache - that as is nnoe is useless for us.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yairogen yair ogen

            Dates

              Created:
              Updated:

              Issue deployment