Re: Setting a Default toOne Relationship
Re: Setting a Default toOne Relationship
- Subject: Re: Setting a Default toOne Relationship
- From: Anjo Krank <email@hidden>
- Date: Fri, 19 May 2006 17:36:27 +0200
Am 19.05.2006 um 17:11 schrieb Chuck Hill:
On May 19, 2006, at 3:02 AM, David Avendasora wrote:
Hi Ken,
The objects must get inserted upon instantiation. What would the
point be of having a context that you don't use until you save the
information to the database? Might just as well do direct JDBC
calls then.
Well, you might be unpleasantly surprised. Many of the Apple
tutorials show some very bad examples of EOF usage. I am pretty
sure that D2W uses the "don't insert until save" paradigm in the
add entity pages. D2W is pretty near impossible to use well unless
you are using the Wonder extensions/patches.
It depends on what you do in your D2W.factory(), but is you are using
the default, I'm pretty sure that it inserts immediately.
The reason you need Wonder is that the default rule system and the EC
locking strategy sucks.
Cheers, Anjo
_______________________________________________
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