On 28/11/2007, at 1:35 PM, Chuck Hill wrote:

On Nov 27, 2007, at 6:13 PM, Owen McKerrow wrote:

On 28/11/2007, at 12:04 PM, Lachlan Deck wrote:

On 28/11/2007, at 11:35 AM, Owen McKerrow wrote:

Hmm nope we don't have any that are cache'd in memory.

We do however have cross model relationships that involved entities that use inheritance ( thanks for the tip Lachlan ).

Yay!

So I have merged the models back into 1 ( was only for conceptual reasons they were two) and am going to do a patch release to see if that fixes the issue.

Well... next question was going to be, given that you'd chosen door 'A': - have you marked all foreign keys inherited in sub-entities as class properties? (hint: eof bug work-a-round)

i.e., if you have a foreign key in super-entity which will obviously not be a class property ... you have to mark it as a class property in your sub-entities in order to allow EOF to save the records properly etc.

It'll be a modelling issue, but sure if it solves your problem by putting them into the one model, great.


We'll wait and see if it does :) If not I will try what you suggest. Should I be dong that anyways even with all Entities within the one model ? Or is it only the case for cross model relationships. In either case sounds like something that should be added to the wikki ( if its not there already ).

I don't recall ever needing to this.

I should have been more specific... Chuck won't recall ever needing to do this because, IIRC, he never uses Vertical Inheritance, which is where I've found this to be needed. Nothing funky about it, just a quirk of that particular inheritance with eof.

And yes, that is regardless of whether you've modelled such inheritance within the one model or not.

That Lachlan, he likes some funky-ass kinds of inheritance!  :-)

I confess, I like OO. :-)

But huh? Subclassing is funky? Fiddle sticks! :-)

Now... about those partial entities. What funky stuff could be done with 'em? ;-)

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to