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:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 2:33 AM
To: [email protected]
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 <[EMAIL PROTECTED]> wrote:
Hi, at last i found the problem...
I'm missing this config:

        <settings
                cacheModelsEnabled="true"
        />


-----Original Message-----
From: Larry Meadors [mailto:[EMAIL PROTECTED]

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




Reply via email to