cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <>
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
<> wrote:
> Is is simply a matter of doing a DataContext.createDataContext() inside of a
> thread?


> 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.)


View raw message