Re: HINT: If you ever switch to ERPrototypes ...
Re: HINT: If you ever switch to ERPrototypes ...
- Subject: Re: HINT: If you ever switch to ERPrototypes ...
- From: Florijan Stamenkovic <email@hidden>
- Date: Wed, 09 Jul 2008 16:25:49 -0400
Guido,
Thanks for the heads up, I am about to start using WOnder prototypes,
so it's good to know this.
F
On Jul 09, 2008, at 12:07, Guido Neitzer wrote:
... check the "not null" settings in your model!
I switched from my own EVPrototypes to ERPrototypes on the last
weekend for my private apps - it wasn't too bad (couple of hours
stupid manual work, one big migration) but one thing really got me:
My prototypes define all attributes but the ones for pks as "allows
null". ERPrototypes defines all attribute with a "not null"
setting. As this information is then normally stored on the
prototype and NOT on the attribute, all these settings get messed
up when you switch.
So, make sure you check that these settings are correct after the
conversion ... (I did it manually in TextMate following the rule
"if there is no implicit setting for an attribute to be 'not null'
it allows null". Foreign keys I compared with what I had set in the
database. While doing that I fixed a couple of stupid settings in
there ...)
cug
--
http://www.event-s.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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