Re: To-many relationship delete problem
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