Yes, that's likely not supported by the equals and hashcodes right now.  Can
you create a JIRA ticket for it?

Cheers,
Clinton

On Sun, Feb 7, 2010 at 8:06 AM, yaog <yairo...@gmail.com> wrote:

>
> Hi,
>
> 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".
>
> I think this is a bug in iBatis. Maybe when the hashcode is calculated?
>
> Please advise.
> --
> View this message in context:
> http://old.nabble.com/CacheKey-and-byte---problem-tp27489427p27489427.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
> For additional commands, e-mail: user-java-h...@ibatis.apache.org
>
>

Reply via email to