quick followup: ERXExistsQualifier blocks *all coordinators* even before a SELECT?!?
quick followup: ERXExistsQualifier blocks *all coordinators* even before a SELECT?!?
- Subject: quick followup: ERXExistsQualifier blocks *all coordinators* even before a SELECT?!?
- From: OC <email@hidden>
- Date: Thu, 13 Oct 2016 18:39:56 +0200
To be sure where the delay happens, I have tried to re-write the code [1] to
=== 1 ===
def me=new EOKeyValueQualifier('user',EOQualifier.QualifierOperatorEqual,sess.currentUser)
def hasme=new ERXExistsQualifier(me,'userLinks')
def fs=new EOFetchSpecification('DBGenGeneratedItem',hasme,null)
NSLog.err.appendln "FETCH STARTS..."
all=session.defaultEditingContext().objectsWithFetchSpecification(fs)
NSLog.err.appendln "... FETCH DID END"
===
and still the delay (which looks like waiting for the beackground threads) happens in betwixt "FETCH STARTS" and "=== Begin Internal Transaction".
Thus, it is self-evident it happens somewhere in objectsWithFetchSpecification, if (and only if!) the qualifier contains ERXExistsQualifier.
_______________________________________________
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