• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
HINT: If you ever switch to ERPrototypes ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: HINT: If you ever switch to ERPrototypes ...
      • From: Florijan Stamenkovic <email@hidden>
    • Re: [Wonder-disc] HINT: If you ever switch to ERPrototypes ...
      • From: Anjo Krank <email@hidden>
  • Prev by Date: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Next by Date: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Previous by thread: Re: Cannot rollbackTransaction() while a fetch is in progress (Was: MySQL 5.0 - note)
  • Next by thread: Re: [Wonder-disc] HINT: If you ever switch to ERPrototypes ...
  • Index(es):
    • Date
    • Thread