[castor-dev] Caching question

August Detlefsen <[email protected]> Thu, 11 Feb 2010 14:28:32 -0800 (PST)
Newsgroups gmane.comp.java.castor.devel
Message-ID <[email protected]>
I have a mapped object with a number of layers of sub objects: 

Dashboard
 -> Section (ArrayList) 
     -> SectionItem (ArrayList)
         -> Item

Item has cache-type="none" specified in the mapping, but all of the other classes in the tree have no cache-type specified and thus use the default count-limited cache. 

My question is: If I make an update to an Item, and then db.load the main Dashboard object, will it include the newly updated Item, or will I get a cached Dashboard object that also includes an older cached version of the Item that was just modified? 

Thanks,
August 



      


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email