On Oct 4, 2004, at 10:41 AM, Gentry, Michael wrote:
> PS. The validation mechanisms, while useful, aren't applicable here.
BTW, you may still use custom validation for such check here
(overriding DataObject.validateForSave()). An obvious advantage over a
UNIQUE constraint DB exception is that you can present user with a nice
meaningful error message. A disadvantage - an extra SelectQuery before
commit.
Andrus
This archive was generated by hypermail 2.0.0 : Mon Oct 04 2004 - 22:30:35 EDT