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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> 
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.co>>
m
>> 
>> This email sent to [email protected]
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/drosenberg%40inquira.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to