Re: UNIQUE constraint on Entity Modeler
Re: UNIQUE constraint on Entity Modeler
- Subject: Re: UNIQUE constraint on Entity Modeler
- From: Mike Schrag <email@hidden>
- Date: Wed, 29 Sep 2010 10:10:39 -0400
the bigger issue is that the 5.3 and 5.4 schema generation API's aren't compatible, so if you use the 5.3 API's, you hit these weird API paths that bypass certain features. it's kind of a mess. currently migrations and entity modeler both use the 5.3 API's. now that we have a 5.4 branch, we can actually call through the 5.4 API's and these features can be turned on.
On Sep 29, 2010, at 10: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."
>
> (^_^)
>
> 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
_______________________________________________
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