Re: UNIQUE constraint on Entity Modeler
Re: UNIQUE constraint on Entity Modeler
- Subject: Re: UNIQUE constraint on Entity Modeler
- From: Ramsey Gurley <email@hidden>
- Date: Wed, 29 Sep 2010 11:54:01 -0400
On Sep 29, 2010, at 11:41 AM, Chuck Hill wrote:
On Sep 29, 2010, at 7:00 AM, Ramsey Gurley wrote:
http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html
EOEntityIndex is new in 5.4.x and would require plugin support for
it to work. I assume that is at least one of the reasons why it
does not work with Wonder's Postgres plugin. When I asked on list
about this earlier, Chuck Hill said
"Uh, if it was a beef roast, it would still be mooing. Nothing to
do with Wonder. Consider it an API design sketch. It is a very
good idea, just not ready for use."
I don't think anything has changed since then. IIRC (and it has
been a while now), from "peeking" it appeared that even part inside
of WO was incomplete. It would be a good thing to fix in Wonder.
Chuck
Sounds impossible. I don't think anyone could pull that off. Not
even Mike (^_~)
Ramsey
On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:
Hi!
Thanks! Doesn't seem to work on PostgreSQL. :(
Regards,
Miguel Arroz
On 2010/09/29, at 14:43, Kieran Kelleher wrote:
<NEwEntityIndex.jpg>
Constraint setting on the index can then be set to
'Distinct' (which I assume is unique in database speak). Not sure
if this works for all database platforms though.
On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
Hi!
I had the idea I saw, in some W(O)W(O)DC, someone talking about
having a "unique" checkbox on Entity Modeler for a property.
That would make the generated SQL have the UNIQUE constraint to
the DB.
Did I dream about this, or is it real? I can not find it anywhere.
Regards,
Miguel Arroz _______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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