Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Handeling DB Unique Constraints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handeling DB Unique Constraints



Not really sure of the messages can be useful, tough, as they use the name of the constraint:

ERROR:  duplicate key value violates unique constraint "bb"

and not the key (postgres). So the end user probably won't know about this. But it may still be better than a real exception.

Cheers, Anjo



Am 24.11.2009 um 22:18 schrieb Anjo Krank:

>
> Am 24.11.2009 um 21:27 schrieb Chuck Hill:
>>> The last I found about it (from May, 2008) was a discussion about using an ERXEC delegate, which in turn would use the DB specific ERXSQLHelper.
>>>
>>> Did anyone ever actually implement this?
>>
>> Yes.
>
> What he said :P
>
> But there are no implementations for subclasses so far. Patches and ideas welcome.
>
> Cheers, Anjo
> _______________________________________________
> 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

References: 
 >Handeling DB Unique Constraints (From: David Avendasora <email@hidden>)
 >Re: Handeling DB Unique Constraints (From: Chuck Hill <email@hidden>)
 >Re: Handeling DB Unique Constraints (From: Anjo Krank <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.