• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERXEC.useSharedEditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXEC.useSharedEditingContext


  • Subject: Re: ERXEC.useSharedEditingContext
  • From: Dov Rosenberg <email@hidden>
  • Date: Thu, 21 May 2009 16:28:06 -0400
  • Thread-topic: ERXEC.useSharedEditingContext

Maybe the property is controlling the setting of the shared editing context
when you create a new EC like

EOEditingContext ec = new EOEditingContext();
If (project wonder property = false){
    Ec.setSharedEditingContext(null);
}


If your app uses the shared editing context you probably aren't getting it
from the EO's ec - you are getting it from the Application

Dov



On 5/21/09 3:22 PM, "Mike Schrag" <email@hidden> wrote:

> I'm surprised your app works, actually ... I'm pretty sure that
> setting kills the SEC completely so there's no SEC hanging off of the
> ERXEC after it's created.  I guess maybe that code doesn't work as
> expected :)
>
> ms
>
> On May 21, 2009, at 3:11 PM, Amedeo Mantica wrote:
>
>> Hi
>>
>> I use shared EOin my app, but I have that property set to off...
>>
>> My app works fine,...
>>
>> Ehat is the advanted to turn it on?
>>
>> On 21/mag/09, at 20:01, Chuck Hill wrote:
>>
>>>
>>> On May 21, 2009, at 2:44 AM, Amedeo Mantica wrote:
>>>
>>>> Hello,
>>>>
>>>> my application ( Winder app ) use shared editing context,
>>>>
>>>> now I have noticed that there is a property called
>>>>
>>>> er.extensions.ERXEC.useSharedEditingContext=false
>>>>
>>>> Now my App seem to be working fine, what is the purpose of this
>>>> property?
>>>
>>> Turns use of the EOSharedEditingContext on or off.  Most people
>>> have it off as improper use of the SEC is common and causes severe
>>> problems.
>>>
>>>
>>> Chuck
>>>
>>>
>>> --
>>> Chuck Hill             Senior Consultant / VP Development
>>>
>>> Come to WOWODC'09 in San Fran this June!
>>> http://www.wocommunity.org/wowodc09/
>>>
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
m
>>
>> This email sent to email@hidden
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERXEC.useSharedEditingContext
      • From: Mike Schrag <email@hidden>
References: 
 >Re: ERXEC.useSharedEditingContext (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Frustrated by WO / Eclipse / WOLips :(
  • Next by Date: Re: ERXEC.useSharedEditingContext
  • Previous by thread: Re: ERXEC.useSharedEditingContext
  • Next by thread: Re: ERXEC.useSharedEditingContext
  • Index(es):
    • Date
    • Thread