HINT: If you ever switch to ERPrototypes ...
HINT: If you ever switch to ERPrototypes ...
- Subject: HINT: If you ever switch to ERPrototypes ...
- From: Guido Neitzer <email@hidden>
- Date: Wed, 9 Jul 2008 10:07:57 -0600
... 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:
This email sent to email@hidden