• 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
modifying EOModel at run-time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: EO & MySQL tedious error
  • Next by Date: RE: modifying EOModel at run-time
  • Previous by thread: Re: Is it possible to make my table dynamic grow?
  • Next by thread: RE: modifying EOModel at run-time
  • Index(es):
    • Date
    • Thread