ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "eloy j" <unidad.g.e...@gmail.com>
Subject Re: A bug in cacheKey?
Date Wed, 06 Sep 2006 10:44:36 GMT
I've try with your change and it works!

I've try the application, not only the code that I've posted.

I use the OSCACHE type.
But without your change and with LRU cache type it works.

Then the problem seems to be in OSCacheController, things like     String
keyString = key.toString(); hummm

I don't have more time, sorry :-(



2006/9/5, eloy j <unidad.g.eloy@gmail.com>:
>
> Lot of Thanks but I don't need the toString, I put this example because
> the cache was keeping the same results in two diferents SELECT.
>
> Read the answer to Jeff Butler if you want to help me, please :-)
>
>
>
> 2006/8/29, Larry Meadors <lmeadors@apache.org>:
>
> > It's a minor one - key3.equals(key4) works as expected: it returns
> > false.
> >
> > If it's critical for your application, I have committed a change that
> > will add the values added to the key to the toString() to fix it, so
> > you can check it out of SVN and use it until the next release.
> >
> > Larry
> >
> >
> > On 8/29/06, eloy j <unidad.g.eloy@gmail.com> wrote:
> > >
> > >
> > >
> > > If you executes the following code the values are identical:
> > >
> > >
> > >
> > > CacheKey key3 = new CacheKey();
> > >
> > > CacheKey key4 = new CacheKey();
> > >
> > > key3.update("AV");
> > >
> > > key4.update("B7");
> > >
> > > System.out.println("Value 1 '" + key3.toString() + "'");
> > >
> > > System.out.println("Value 2 '" + key4.toString() + "'");
> > >
> > >
> > >
> > > Perhaps there is confused something to me, but it seems a bug.
> > > Thanks.
> > >
> > >
> > > Eloy GarcĂ­a-Borreguero Melero
> >
>
>

Mime
View raw message