• 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: To-many relationship delete problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To-many relationship delete problem


  • Subject: Re: To-many relationship delete problem
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 18 Nov 2009 22:55:14 -0500

Hi Anjo,

Unless I am reading the code wrong, ERXOSC.initialize() sets the ERXEC factory to MultiOSCFactory..... thus replacing whatever custom one you have set yourself .....

    /**
     * Creates the singleton and registers the multi factory.
     */
    public static void initialize() {
        if(_pool == null) {
            ERXObjectStoreCoordinatorSynchronizer.initialize();
            _pool = new ERXObjectStoreCoordinatorPool();
            log.info("setting ERXEC.factory to MultiOSCFactory");
            ERXEC.setFactory(new MultiOSCFactory());
        }
    }

..... and according to ERExtensions/resources/Properties, ERXOSC Pool needs to be active for EOF synch......

## To use remote EOF synchronization, you must turn on the
## ERXObjectStoreCoordinatorPool.  Just setting it to 1 is enough to
## allow things to work.
#er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1


..... am I reading this wrong?

-Kieran




On Nov 18, 2009, at 10:29 PM, Anjo Krank wrote:

IIRC, doing so requires you to have your own ERXEC Factory, which by itself seems fine at first glance, but that then prevents you using the ERXObjectStoreCoordinatorPool (because it wants to use its own ERXEC factory), which in turn prevents you from using OSC synchronization feature of Wonder.

Huh? I'm pretty sure you are not recalling correctly. You should be easily able to use the pool with or without your own factory, and I wouldn't know why it would not work with synching? Or ever didn't for that matter.


Cheers, Anjo

_______________________________________________
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: To-many relationship delete problem
      • From: Anjo Krank <email@hidden>
References: 
 >To-many relationship delete problem (From: Lon Varscsak <email@hidden>)
 >Re: To-many relationship delete problem (From: Lon Varscsak <email@hidden>)
 >Re: To-many relationship delete problem (From: Chuck Hill <email@hidden>)
 >Re: To-many relationship delete problem (From: Lon Varscsak <email@hidden>)
 >Re: To-many relationship delete problem (From: Kieran Kelleher <email@hidden>)
 >Re: To-many relationship delete problem (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: To-many relationship delete problem
  • Next by Date: Re: To-many relationship delete problem
  • Previous by thread: Re: To-many relationship delete problem
  • Next by thread: Re: To-many relationship delete problem
  • Index(es):
    • Date
    • Thread