Menu

#48 sql mru dataloader doesnt return value associated with key

carbon_2.1
open-fixed
None
7
2004-04-05
2004-03-29
Anand Raman
No

SqlBeanMapMRUDataLoader has a bug. The loadDatum
method of a mru cache dataloader should return the
value which needs to be cached.

SqlBeanMapMRUDataLoader is returning a map of size 1
which contains the key and value as the contents. This
end result is that irrepective of the bean type specified
in the configuration, a map will cached for the key. This
is wrong and needs to be corrected

Discussion

  • Anand Raman

    Anand Raman - 2004-04-05

    Logged In: YES
    user_id=662386

    loadDatum() method of SqlBeanMapMRUDataLoader has been
    modified to return the value which needs to be cached. The
    test case has also been modified to check for correctness.

    This bug can be verified and closed.

     
  • Anand Raman

    Anand Raman - 2004-04-05
    • status: open --> open-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB