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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/flor385% 40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
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