Re: No Unique Indexes in EO?
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.