Re: general prototype questions
Re: general prototype questions
- Subject: Re: general prototype questions
- From: Florijan Stamenkovic <email@hidden>
- Date: Tue, 29 Jul 2008 14:22:04 -0400
Paul,
Thanks for the reply. I think I am on the right track, except for one
still nagging question, below...
On Jul 29, 2008, at 12:35, Paul Lynch wrote:
On 29 Jul 2008, at 15:27, Florijan Stamenkovic wrote:
I'm about to switch to using prototypes (wonder). A few questions...
1. From what I've read some runtime work is necessary to switch
between database specific prototype entities. How does that relate
to entity modeler's Database config popup that allows one to
simply choose from all the present ones?
Under normal circumstances, switching according to prototype "just
works". You will need to tell EOF which connection dictionary, and
therefore database plugin, to use, but that is all.
OK, but then EOF must be capable of determining which prototype
entity to use during runtime (hence the "prototypeEntityName" prop in
index.eomodeld of a model bundle). Which makes sense, but in that
case the chapter in Practical WO on Prototypes does not make sense,
since it gets into solving exactly that problem. So, has EOF evolved
since Practical WO was written in this regard? Or was the problem in
the old EOModeler (since it did not IIRC allow one to change the
"prototypeEntityName" setting, so one was stuck with the EO<adaptor
name>Prototypes, meaning EOJDBCPrototypes )?
Or am I missing something obvious?
Thanks,
F
_______________________________________________
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