ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: Cache
Date Wed, 22 Feb 2006 07:51:22 GMT
never mind I see it now :)

On Feb 22, 2006, at 12:29 AM, Yusuf wrote:

> Really?? but I have add it under the "Common Problems" category  
> with the
> entry "How can I enable the caching feature of iBATIS"..
> this is the direct link:
> http://opensource2.atlassian.com/confluence/oss/pages/ 
> viewpage.action?pa
> geId=3304
>
> Yusuf.
>
> -----Original Message-----
> From: Nathan Maves [mailto:Nathan.Maves@Sun.COM]
> Sent: Wednesday, February 22, 2006 11:39 AM
> To: user-java@ibatis.apache.org
> Subject: Re: Cache
>
>
> That is the right place but I did not see your post.
>
> Let me know if you need help.
>
> Nathan
>
> On Feb 21, 2006, at 6:45 PM, Yusuf wrote:
>
>> In my case, i tried to remove the dummy and the caching still  
>> worked..
>>
>> Actually I've never used the wiki before :), but I tried to add in
>> http://opensource2.atlassian.com/confluence/oss/display/IBATIS/
>> Frequentl
>> y+Asked+Questions
>> is it in the correct place?
>>
>> Thanks,
>> Yusuf.
>>
>> -----Original Message-----
>> From: Nathan Maves [mailto:Nathan.Maves@Sun.COM]
>> Sent: Wednesday, February 22, 2006 2:33 AM
>> To: user-java@ibatis.apache.org
>> Subject: Re: Cache
>>
>>
>> I don't think it is required but I would test it first :)
>>
>> Nathan
>> On Feb 21, 2006, at 11:28 AM, Perry Nguyen wrote:
>>
>>> So, do we still need to use the dummy argument to hit the cache?
>>> Or is that unnecessary?
>>>
>>> Brandon Goodin wrote:
>>>> Yusuf,
>>>> If this is not in the FAQ. I think it should be :) I've seen this
>>>> happen more than once. Can you check the wiki, see if it is not
>>>> there
>>>> and add it to the FAQ?
>>>> Brandon
>>>> On 2/21/06, Yusuf <Yusuf@ekalife.co.id> wrote:
>>>>> Hi, at last i found the problem...
>>>>> I'm missing this config:
>>>>>
>>>>>         <settings
>>>>>                 cacheModelsEnabled="true"
>>>>>         />
>>>>>
>>>
>>>>> -----Original Message-----
>>>>> From: Larry Meadors [mailto:lmeadors@apache.org]
>>>
>>>>> Yeah...this is almost a bug, but not quite..the assumption is
>>>>> that if
>>>>> you have no parameters that the query must change based on
>>>>> something
>>>>> else, so it doesn't get cached. :-/
>>>>>
>>>>> A workaround (I think..) is to call the query with a parameter
>>>>> object
>>>>> that you ignore.
>>>>>
>>>>> Object o = sqlmap.queryForList("ns.query", "ignoreMe");
>>>>>
>>>>> Larry
>>>
>>
>>
>
>


Mime
View raw message