Yes I am aware :)

Would you suggest using the same cache for two queries with different parameters but the same result objects?

i.e.

getStudentsByAge and a getStudentsByAgeAndGrade

These maps would both return a List of Student objects

Nathan

On Feb 11, 2005, at 4:32 PM, Clinton Begin wrote:

yes.  But please be aware of a critical bug currently affecting
caching by String keys (see JIRA).

It will be fixed as soon as we have SVN available.  !!!

Cheers,
Clinton


On Fri, 11 Feb 2005 15:57:22 -0700, Nathan Maves <[EMAIL PROTECTED]> wrote:
give the select below

        <select id="getlogById" parameterClass="string"
resultMap="logResultMap" cacheModel="logCache">
         select
             *
         from
             GST_log
         where
             id = #value#
     </select>

if you call this select with both getQueryForObject and getQueryForList
with the caching work correctly?


Nathan





Reply via email to