How to fetch an object/fault from the db without creating it

Alex van den Bergh <[email protected]> Wed, 17 Sep 2003 15:44:42 +0200
Newsgroups gmane.comp.web.webobjects.eof
Message-ID <[email protected]>
Hi list,

I have an EOGlobalID and I want to get the object/fault associated with 
this EOGlobalID.
It's no problem if I use

EOEditingContext.faultForGlobalID(myGlobalId, myEditingContext)

for existing objects.

However, when I am requesting an object that does not exist in the 
database or ec I want my method to return 'null'. faultForGlobalID will 
simply create a fault.

Is there anyway to just check for the existence of data in the database 
corresponding with a certain globalId without creating a new fault?

Regards,

Alex