• 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
EO: Should I create primary keys?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EO: Should I create primary keys?


  • Subject: EO: Should I create primary keys?
  • From: Goodbye Bill <email@hidden>
  • Date: Mon, 28 Jul 2003 05:46:10 -0400

HEEELP!  SQL is pulling me back in!  M-m-m-ust... n-n-not... go... back!

QUESTION:
Should I create assign/create my primary keys myself OR should I [is it
possible to] rely entirely upon EO to do it?

SCENARIO:
Wanting to be entirely object-driven, and not manipulate the database schema
directly, I have attempted to create all of my objects using ONLY EOModeler.

PROBLEM:
To create any relationship, one must specify the source and destination
properties (essentially, the primary and foreign keys within the table).
This means that the developer is forced to create the columns for the keys,
assign the key attribute, etc., both while creating the table and while
creating the relationship.  This seems to violate the initial goal of EO,
which is to extrapolate the database and the object model.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: EO: Should I create primary keys?
      • From: Ricardo Strausz <email@hidden>
    • Re: EO: Should I create primary keys?
      • From: Jonathan Rochkind <email@hidden>
    • Re: EO: Should I create primary keys?
      • From: Arturo PĂ©rez <email@hidden>
  • Prev by Date: Tree controller help
  • Next by Date: EO: Object Collections?
  • Previous by thread: Tree controller help
  • Next by thread: Re: EO: Should I create primary keys?
  • Index(es):
    • Date
    • Thread