modifying EOModel at run-time
modifying EOModel at run-time
- Subject: modifying EOModel at run-time
- From: Jonathan Rochkind <email@hidden>
- Date: Wed, 10 Sep 2003 12:50:20 -0500
The 5.2 release notes for bug Radar# 2176526 mention in passing:
"Alternatively, you might be able to solve this problem more generally by
writing a post processor for EOQualifiers that splits up clauses that
perform inheritance tests. The post processor could even programmatically
generate the additional relationships on demand and register them with the
model using names like plant_Subclass_Fighter."
This says it is possible to add relationships to an EOModel at run-time,
even after objects of the EOEntity have been instantiated ("on demand" from
the release note), right?
But... it's unclear what, if anything, you need to lock before doing
this. Is there an appropriate lock somewhere? Can I really add a
relationship without a lock? Is this release note wrong, and you _can't_
actually add a relationship to an EOModel "on demand"?
--Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.