Alex Netkachov wrote: > > I prefer combination of the following methods: > 1. Check the uniqueness using a SELECT query. > 2. Display error > 3. After fixing error, execute data modification statemenet. > 4. In case of error I can do either of the following: > 4.1. parse error message and display error or if it fails > 4.2. just show the general database error message and optionally > 4.3. show the general database error message with recording exact > message text to log > > Sincerely, > Alex >
Thank you, Alex. Have you implemented these methods within the Zend Framework? -- View this message in context: http://www.nabble.com/Validation-for-unique-constraints-tf4537684s16154.html#a12960653 Sent from the Zend Framework mailing list archive at Nabble.com.
