• 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: UNIQUE constraint on Entity Modeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UNIQUE constraint on Entity Modeler


  • Subject: Re: UNIQUE constraint on Entity Modeler
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 29 Sep 2010 10:00:58 -0400

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."

(^_^)

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
  • Follow-Ups:
    • Re: UNIQUE constraint on Entity Modeler
      • From: Chuck Hill <email@hidden>
    • Re: UNIQUE constraint on Entity Modeler
      • From: Mike Schrag <email@hidden>
    • Re: UNIQUE constraint on Entity Modeler
      • From: Kieran Kelleher <email@hidden>
References: 
 >UNIQUE constraint on Entity Modeler (From: Miguel Arroz <email@hidden>)
 >Re: UNIQUE constraint on Entity Modeler (From: Kieran Kelleher <email@hidden>)
 >Re: UNIQUE constraint on Entity Modeler (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: UNIQUE constraint on Entity Modeler
  • Next by Date: Re: UNIQUE constraint on Entity Modeler
  • Previous by thread: Re: UNIQUE constraint on Entity Modeler
  • Next by thread: Re: UNIQUE constraint on Entity Modeler
  • Index(es):
    • Date
    • Thread