Folks,

I have the following requirement: I need a unique constraint on the combination 
of 2 attributes. As I have learned from some postings about a year back the 
distinct index in EOModeler does not work (and it surely does not for me). Or 
should it? This is Oracle 9 and WO54, Eclipse Ganymed and suitable WOLips. So 
to at least to ensure the integrity of the data I have defined a unique 
constraint via SQL. But now I get a very ugli looking SQLException. This is 
functionally ok but for the user not acceptable (understandable). 

How can I trap such an Exception during SAVE in a (ER)D2W app and present a 
nice looking error message (similar to what is shown when some validations 
fail)?

Thanks a lot and have a nice day
---markus--- _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to