cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Willerding <awillerd...@itsurcom.com>
Subject Re: Standalone app, Threads and Object contexts
Date Wed, 02 May 2012 21:47:26 GMT
On 05/02/2012 05:40 PM, Michael Gentry wrote:
> 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
Thank you Michael.  You have made my day!



Mime
View raw message