You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Nuno Miguel Ribeiro Rosa <nu...@telecom.pt> on 2006/01/13 11:30:07 UTC
Cache problems
Hi,
I'm having a problem when I make de call: _dao.QueryForObject(params) more than once with the same params I get this exception:
´ System.ArgumentException: Item has already been added. Key in dictionary: "842128374" Key being added: "842128374" `
I'm defining cache=lru.
I'm newbie using Ibatis (.Net)... can anyone help, please?
Thanks,
Nuno Rosa
PT-SI
Re: Cache problems
Posted by Gilles Bayon <ib...@gmail.com>.
You should used the lastest vesrsion 1.3/1.7 as previous version have a bug
on cache process.
On 1/13/06, Nuno Miguel Ribeiro Rosa <nu...@telecom.pt> wrote:
>
> Hi,
>
>
>
> I'm having a problem when I make de call: _dao.QueryForObject(params) more
> than once with the same params I get this exception:
>
>
>
> ´ System.ArgumentException: Item has already been added. Key in
> dictionary: "842128374" Key being added: "842128374" `
>
>
>
> I'm defining cache=lru.
>
>
>
> I'm newbie using Ibatis (.Net)… can anyone help, please?
>
>
>
> Thanks,
>
>
>
> *Nuno Rosa*
>
> *PT-SI*
>
>
>