Hi,

I'm using MG:Unity + Reactor. I'm using a modelglue.GenericCommit and I have
a unique index so the database cannot have multiple email addresses of the
same. How can I get validation to work rather than it throwing a hard error?
Does reactor not catch this in validation? I think it would be nice, if
nothing more to check the SQL error that is thrown back for "Cannot insert
duplicate key". I'm using the validation structure for when users don't
enter a value in a non-null field, or enter an incorrect data type and/or
length.


*Thanks, *
- Doug


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to