• 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
Re: Entity Inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entity Inheritance


  • Subject: Re: Entity Inheritance
  • From: Guido Neitzer <email@hidden>
  • Date: Mon, 1 Dec 2008 01:20:38 -0700

On 30.11.2008, at 22:19, Ted Archibald wrote:

This app will have a small user base (<6), and will be in a controlled environment. That said I don't intend on switching objects that often, but approximately one in every 1000 objects created would have to be changed due to data entry errors. Ultimately the object type should be set for life, save for the occasional error.

It seems to me that it'd be easier to handle the errors generated when fetching/saving, rather than create and maintain a helper class.

I've played that part once years ago and I will never do it again. Why make your life harder than it should be? Write method that creates a new objects, copies the attributes, and re-attach all relationships, get rid of the old object and be done with it. Nice, clean, working. Changing one under the nose of EOF - you have been warned!


cug
_______________________________________________
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


  • Next by Date: Re: Entity Inheritance
  • Next by thread: Re: Entity Inheritance
  • Index(es):
    • Date
    • Thread