• 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: No Unique Indexes in EO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No Unique Indexes in EO?


  • Subject: Re: No Unique Indexes in EO?
  • From: Kaj Hejer <email@hidden>
  • Date: Fri, 11 Jul 2003 12:37:26 +0200

At 06:12 -0400 11-07-2003, Goodbye Bill wrote:
Is it me do unique indexes not exist in EO?  I see no place to define them
using EOModeler.  I have also built a database with a unique index and used
EOModeler to generate the model from the existing database... still nothing.

Everybody keeps saying that I've gotta forget about the database and go
entirely object-oriented to really benefit from EO.  I find this impossible
if I cannot build in simple data integrity rules.

Someone please shed some light on this for me... thanks. =}~


Hi!

You have to add this to the database yourself by something like

alter table emp add constraint emp_u unique(empno)

I have filed a feature request at bugreport.apple.com about making it possible to set an attribute a unique in eomodeler (without having it as a PK). It got #3113032.


-Kaj :) _______________________________________________ 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.

References: 
 >No Unique Indexes in EO? (From: Goodbye Bill <email@hidden>)

  • Prev by Date: No Unique Indexes in EO?
  • Next by Date: WebObjects and PostgreSql
  • Previous by thread: No Unique Indexes in EO?
  • Next by thread: WebObjects and PostgreSql
  • Index(es):
    • Date
    • Thread