cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Standalone app, Threads and Object contexts
Date Wed, 02 May 2012 21:40:11 GMT
On Wed, May 2, 2012 at 4:52 PM, Andrew Willerding
<awillerding@itsurcom.com> wrote:
> Is is simply a matter of doing a DataContext.createDataContext() inside of a
> thread?

Yes.

> Will the new DataContexts use the SharedConfiguration of the first
> DataContext that was created?

And yes.  :-)  (Although to be more precise, you initialize the shared
configuration and then they all use it -- has nothing to do with the
first DC that was created.)

mrg

Mime
View raw message