Yes, you'll just need to use dataContext.localObjects() to reference
them in another data context. That's not a problem so long as you're
working with committed objects in your "read-only" shared context.
On 8/25/05, Jeff de Vries <jdevrie..frog.com> wrote:
> 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:50:59 EDT