Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
However, in the off chance that some other user inserts the exact same value in between the business rules being checked and the INSERT into the database, don't forego the use of the unique key on the database (don't just rely on the business rule). When this happens (window of some <.25 seconds or so depending upon network latency), the exception will be thrown and preserve your database consistency and the user can just try again...
|