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