Caching DataObjects from different DataContexts?

From: Jeff de Vries (jdevrie..frog.com)
Date: Thu Aug 25 2005 - 16:07:09 EDT

  • Next message: Neil Pierson: "Re: Object Graph question"

    I have a small table of objects that I want to read from the database
    and keep in-memory. These are objects that rarely change. I'm running
    in a web app, so each thread has its own DataContext. If I read and
    store (in a global Java HashMap, for example) these objects from one
    thread (with its own DataContext), can I reference and use those same
    objects in a different thread (which has its own, and different,
    DataContext)?

    Thanks,
    Jeff de Vries



    This archive was generated by hypermail 2.0.0 : Thu Aug 25 2005 - 16:07:14 EDT